|
MagicSmoke
$VERSION$
|
Called from the Web UI only: removes vouchers. More...
#include <srcMTWebCartRemoveVoucher.h>
Public Member Functions | |
| MTWebCartRemoveVoucher () | |
| default constructor: generates an invalid transaction More... | |
| MTWebCartRemoveVoucher (const MTWebCartRemoveVoucher &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTWebCartRemoveVoucher () |
| deletes this instance More... | |
| MTWebCartRemoveVoucher & | operator= (const MTWebCartRemoveVoucher &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTWebCartRemoveVoucher | asyncQuery (const QString &acartid, const qint64 &alineid, 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 MTWebCartRemoveVoucher | query (const QString &acartid, const qint64 &alineid, 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 | |
| MTWebCartRemoveVoucher (const QString &acartid, const qint64 &alineid, 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 | MTWebCartRemoveVoucher_Private |
Called from the Web UI only: removes vouchers.
|
explicitprotected |
generates an instance from its properties
| acartid | The cart to add into |
| alineid | The voucher line to remove |
| iface | ID of the interface that the transaction will be sent on |
References MTWebCartRemoveVoucher_Private::in_cartid, MTWebCartRemoveVoucher_Private::in_lineid, and MTWebCartRemoveVoucher_Private.
| MTWebCartRemoveVoucher::MTWebCartRemoveVoucher | ( | ) |
default constructor: generates an invalid transaction
References MTWebCartRemoveVoucher_Private.
| MTWebCartRemoveVoucher::MTWebCartRemoveVoucher | ( | const MTWebCartRemoveVoucher & | t | ) |
copy constructor: the two copies share their state
References MTWebCartRemoveVoucher_Private::attach().
|
virtual |
deletes this instance
References MTWebCartRemoveVoucher_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| acartid | The cart to add into |
| alineid | The voucher line to remove |
| iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
| MTWebCartRemoveVoucher & MTWebCartRemoveVoucher::operator= | ( | const MTWebCartRemoveVoucher & | t | ) |
copy assignment: the copy shares the state of the original object
References MTWebCartRemoveVoucher_Private::attach(), and MTWebCartRemoveVoucher_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| acartid | The cart to add into |
| alineid | The voucher line to remove |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryWebCartRemoveVoucher().
|
friend |
Referenced by MTWebCartRemoveVoucher().