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