MagicSmoke
$VERSION$
|
creates/changes a payment type More...
#include <srcMTSetPaymentType.h>
Public Member Functions | |
MTSetPaymentType () | |
default constructor: generates an invalid transaction More... | |
MTSetPaymentType (const MTSetPaymentType &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTSetPaymentType () |
deletes this instance More... | |
Q_SLOT Nullable< MOPaymentType > | getpaytype () const |
MTSetPaymentType & | operator= (const MTSetPaymentType &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTSetPaymentType | asyncQuery (const MOPaymentType &apaytype, 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 MTSetPaymentType | query (const MOPaymentType &apaytype, 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 | |
MTSetPaymentType (const MOPaymentType &apaytype, 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 | MTSetPaymentType_Private |
creates/changes a payment type
|
explicitprotected |
generates an instance from its properties
apaytype | |
iface | ID of the interface that the transaction will be sent on |
References MTSetPaymentType_Private::in_paytype, and MTSetPaymentType_Private.
MTSetPaymentType::MTSetPaymentType | ( | ) |
default constructor: generates an invalid transaction
References MTSetPaymentType_Private.
MTSetPaymentType::MTSetPaymentType | ( | const MTSetPaymentType & | t | ) |
copy constructor: the two copies share their state
References MTSetPaymentType_Private::attach().
|
virtual |
deletes this instance
References MTSetPaymentType_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
apaytype | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOPaymentType > MTSetPaymentType::getpaytype | ( | ) | const |
References MTSetPaymentType_Private::out_paytype.
MTSetPaymentType & MTSetPaymentType::operator= | ( | const MTSetPaymentType & | t | ) |
copy assignment: the copy shares the state of the original object
References MTSetPaymentType_Private::attach(), and MTSetPaymentType_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
apaytype | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::querySetPaymentType().
|
friend |
Referenced by MTSetPaymentType().