MagicSmoke
$VERSION$
|
sets the payment type that is used per default More...
#include <srcMTSetDefaultPaymentType.h>
Public Member Functions | |
MTSetDefaultPaymentType () | |
default constructor: generates an invalid transaction More... | |
MTSetDefaultPaymentType (const MTSetDefaultPaymentType &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTSetDefaultPaymentType () |
deletes this instance More... | |
Q_SLOT Nullable< MOPaymentType > | getdefaultpaytype () const |
MTSetDefaultPaymentType & | operator= (const MTSetDefaultPaymentType &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTSetDefaultPaymentType | asyncQuery (const QString &adefaultpaytype, 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 MTSetDefaultPaymentType | query (const QString &adefaultpaytype, 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 | |
MTSetDefaultPaymentType (const QString &adefaultpaytype, 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 | MTSetDefaultPaymentType_Private |
sets the payment type that is used per default
|
explicitprotected |
generates an instance from its properties
adefaultpaytype | |
iface | ID of the interface that the transaction will be sent on |
References MTSetDefaultPaymentType_Private::in_defaultpaytype, and MTSetDefaultPaymentType_Private.
MTSetDefaultPaymentType::MTSetDefaultPaymentType | ( | ) |
default constructor: generates an invalid transaction
References MTSetDefaultPaymentType_Private.
MTSetDefaultPaymentType::MTSetDefaultPaymentType | ( | const MTSetDefaultPaymentType & | t | ) |
copy constructor: the two copies share their state
References MTSetDefaultPaymentType_Private::attach().
|
virtual |
deletes this instance
References MTSetDefaultPaymentType_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
adefaultpaytype | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOPaymentType > MTSetDefaultPaymentType::getdefaultpaytype | ( | ) | const |
MTSetDefaultPaymentType & MTSetDefaultPaymentType::operator= | ( | const MTSetDefaultPaymentType & | t | ) |
copy assignment: the copy shares the state of the original object
References MTSetDefaultPaymentType_Private::attach(), and MTSetDefaultPaymentType_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
adefaultpaytype | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::querySetDefaultPaymentType().
|
friend |
Referenced by MTSetDefaultPaymentType().