MagicSmoke
$VERSION$
|
creates a new customer More...
#include <srcMTCreateCustomer.h>
Public Member Functions | |
MTCreateCustomer () | |
default constructor: generates an invalid transaction More... | |
MTCreateCustomer (const MTCreateCustomer &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTCreateCustomer () |
deletes this instance More... | |
Q_SLOT Nullable< MOCustomer > | getcustomer () const |
MTCreateCustomer & | operator= (const MTCreateCustomer &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTCreateCustomer | asyncQuery (const MOCustomer &acustomer, 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 MTCreateCustomer | query (const MOCustomer &acustomer, 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 | |
MTCreateCustomer (const MOCustomer &acustomer, 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 | MTCreateCustomer_Private |
creates a new customer
|
explicitprotected |
generates an instance from its properties
acustomer | |
iface | ID of the interface that the transaction will be sent on |
References MTCreateCustomer_Private::in_customer, and MTCreateCustomer_Private.
MTCreateCustomer::MTCreateCustomer | ( | ) |
default constructor: generates an invalid transaction
References MTCreateCustomer_Private.
MTCreateCustomer::MTCreateCustomer | ( | const MTCreateCustomer & | t | ) |
copy constructor: the two copies share their state
References MTCreateCustomer_Private::attach().
|
virtual |
deletes this instance
References MTCreateCustomer_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
acustomer | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOCustomer > MTCreateCustomer::getcustomer | ( | ) | const |
References MTCreateCustomer_Private::out_customer.
MTCreateCustomer & MTCreateCustomer::operator= | ( | const MTCreateCustomer & | t | ) |
copy assignment: the copy shares the state of the original object
References MTCreateCustomer_Private::attach(), and MTCreateCustomer_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
acustomer | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryCreateCustomer().
|
friend |
Referenced by MTCreateCustomer().