MagicSmoke
$VERSION$
|
returns the valid payment types More...
#include <srcMTGetPaymentTypes.h>
Public Member Functions | |
MTGetPaymentTypes () | |
default constructor: generates an invalid transaction More... | |
MTGetPaymentTypes (const MTGetPaymentTypes &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetPaymentTypes () |
deletes this instance More... | |
Q_SLOT Nullable< QString > | getdefaultpaytype () const |
Q_SLOT QList< MOPaymentType > | getpaytypes () const |
MTGetPaymentTypes & | operator= (const MTGetPaymentTypes &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetPaymentTypes | asyncQuery (QString iface="MagicSmoke") |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state More... | |
static MTGetPaymentTypes | query (QString iface="MagicSmoke") |
emits the query over the network and returns the finished transaction object More... | |
Static Public Member Functions inherited from MTransaction | |
static void | setStartStopActions (const MTStartStop &start, const MTStartStop &stop) |
set actions to be executed at start/stop More... | |
Protected Member Functions | |
MTGetPaymentTypes (QString iface) | |
generates an instance from its properties More... | |
virtual void | endQuery () |
Protected Member Functions inherited from MTransaction | |
MTransaction (QString iface=QString()) | |
internal: construct the transaction More... | |
MTransaction (const WTransaction &) | |
internal: copy the transaction More... | |
MTransaction (const MTransaction &) | |
internal: copy the transaction More... | |
QByteArray | executeQuery (QString, QByteArray) |
internal: extend executeQuery to show a wait cursor More... | |
Friends | |
class | MTGetPaymentTypes_Private |
returns the valid payment types
|
explicitprotected |
generates an instance from its properties
iface | ID of the interface that the transaction will be sent on |
References MTGetPaymentTypes_Private.
MTGetPaymentTypes::MTGetPaymentTypes | ( | ) |
default constructor: generates an invalid transaction
References MTGetPaymentTypes_Private.
MTGetPaymentTypes::MTGetPaymentTypes | ( | const MTGetPaymentTypes & | t | ) |
copy constructor: the two copies share their state
References MTGetPaymentTypes_Private::attach().
|
virtual |
deletes this instance
References MTGetPaymentTypes_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< QString > MTGetPaymentTypes::getdefaultpaytype | ( | ) | const |
References MTGetPaymentTypes_Private::out_defaultpaytype.
Referenced by getPayTypeCache().
QList< MOPaymentType > MTGetPaymentTypes::getpaytypes | ( | ) | const |
References MTGetPaymentTypes_Private::out_paytypes.
Referenced by getPayTypeCache().
MTGetPaymentTypes & MTGetPaymentTypes::operator= | ( | const MTGetPaymentTypes & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetPaymentTypes_Private::attach(), and MTGetPaymentTypes_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetPaymentTypes().
|
friend |
Referenced by MTGetPaymentTypes().