|
MagicSmoke
$VERSION$
|
returns all audit data for a voucher (when it was bought, when it was used and for what) More...
#include <srcMTGetVoucherAudit.h>
Public Member Functions | |
| MTGetVoucherAudit () | |
| default constructor: generates an invalid transaction More... | |
| MTGetVoucherAudit (const MTGetVoucherAudit &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTGetVoucherAudit () |
| deletes this instance More... | |
| Q_SLOT QList< MOVoucherAudit > | getvoucher () const |
| MTGetVoucherAudit & | operator= (const MTGetVoucherAudit &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTGetVoucherAudit | asyncQuery (const QString &avoucherid, 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 MTGetVoucherAudit | query (const QString &avoucherid, 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 | |
| MTGetVoucherAudit (const QString &avoucherid, 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 | MTGetVoucherAudit_Private |
returns all audit data for a voucher (when it was bought, when it was used and for what)
|
explicitprotected |
generates an instance from its properties
| avoucherid | |
| iface | ID of the interface that the transaction will be sent on |
References MTGetVoucherAudit_Private::in_voucherid, and MTGetVoucherAudit_Private.
| MTGetVoucherAudit::MTGetVoucherAudit | ( | ) |
default constructor: generates an invalid transaction
References MTGetVoucherAudit_Private.
| MTGetVoucherAudit::MTGetVoucherAudit | ( | const MTGetVoucherAudit & | t | ) |
copy constructor: the two copies share their state
References MTGetVoucherAudit_Private::attach().
|
virtual |
deletes this instance
References MTGetVoucherAudit_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| avoucherid | |
| iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
| QList< MOVoucherAudit > MTGetVoucherAudit::getvoucher | ( | ) | const |
References MTGetVoucherAudit_Private::out_voucher.
Referenced by MOrderAuditDialog::openVoucherAuditDialog().
| MTGetVoucherAudit & MTGetVoucherAudit::operator= | ( | const MTGetVoucherAudit & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetVoucherAudit_Private::attach(), and MTGetVoucherAudit_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| avoucherid | |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetVoucherAudit().
|
friend |
Referenced by MTGetVoucherAudit().