MagicSmoke
$VERSION$
|
Changes a coupon. More...
#include <srcMTChangeCoupon.h>
Public Member Functions | |
MTChangeCoupon () | |
default constructor: generates an invalid transaction More... | |
MTChangeCoupon (const MTChangeCoupon &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTChangeCoupon () |
deletes this instance More... | |
MTChangeCoupon & | operator= (const MTChangeCoupon &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTChangeCoupon | asyncQuery (const MOCoupon &acoupon, 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 MTChangeCoupon | query (const MOCoupon &acoupon, 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 | |
MTChangeCoupon (const MOCoupon &acoupon, 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 | MTChangeCoupon_Private |
Changes a coupon.
|
explicitprotected |
generates an instance from its properties
acoupon | |
iface | ID of the interface that the transaction will be sent on |
References MTChangeCoupon_Private::in_coupon, and MTChangeCoupon_Private.
MTChangeCoupon::MTChangeCoupon | ( | ) |
default constructor: generates an invalid transaction
References MTChangeCoupon_Private.
MTChangeCoupon::MTChangeCoupon | ( | const MTChangeCoupon & | t | ) |
copy constructor: the two copies share their state
References MTChangeCoupon_Private::attach().
|
virtual |
deletes this instance
References MTChangeCoupon_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
acoupon | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
MTChangeCoupon & MTChangeCoupon::operator= | ( | const MTChangeCoupon & | t | ) |
copy assignment: the copy shares the state of the original object
References MTChangeCoupon_Private::attach(), and MTChangeCoupon_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
acoupon | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryChangeCoupon().
|
friend |
Referenced by MTChangeCoupon().