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