MagicSmoke
$VERSION$
|
returns all audit data for an order (when it was created, who handled it, when it was paid and how, ... More...
#include <srcMTGetOrderAudit.h>
Public Member Functions | |
MTGetOrderAudit () | |
default constructor: generates an invalid transaction More... | |
MTGetOrderAudit (const MTGetOrderAudit &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetOrderAudit () |
deletes this instance More... | |
Q_SLOT QList< MOOrderAudit > | getorder () const |
Q_SLOT QList< MOTicketAudit > | gettickets () const |
Q_SLOT QList< MOVoucherAudit > | getvouchers () const |
MTGetOrderAudit & | operator= (const MTGetOrderAudit &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetOrderAudit | asyncQuery (const qint64 &aorderid, 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 MTGetOrderAudit | query (const qint64 &aorderid, 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 | |
MTGetOrderAudit (const qint64 &aorderid, 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 | MTGetOrderAudit_Private |
returns all audit data for an order (when it was created, who handled it, when it was paid and how, ...
|
explicitprotected |
generates an instance from its properties
aorderid | |
iface | ID of the interface that the transaction will be sent on |
References MTGetOrderAudit_Private::in_orderid, and MTGetOrderAudit_Private.
MTGetOrderAudit::MTGetOrderAudit | ( | ) |
default constructor: generates an invalid transaction
References MTGetOrderAudit_Private.
MTGetOrderAudit::MTGetOrderAudit | ( | const MTGetOrderAudit & | t | ) |
copy constructor: the two copies share their state
References MTGetOrderAudit_Private::attach().
|
virtual |
deletes this instance
References MTGetOrderAudit_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aorderid | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
QList< MOOrderAudit > MTGetOrderAudit::getorder | ( | ) | const |
References MTGetOrderAudit_Private::out_order.
Referenced by MOrderAuditDialog::MOrderAuditDialog(), and MOrderAuditDialog::openOrderAuditDialog().
QList< MOTicketAudit > MTGetOrderAudit::gettickets | ( | ) | const |
References MTGetOrderAudit_Private::out_tickets.
Referenced by MOrderAuditDialog::MOrderAuditDialog().
QList< MOVoucherAudit > MTGetOrderAudit::getvouchers | ( | ) | const |
References MTGetOrderAudit_Private::out_vouchers.
Referenced by MOrderAuditDialog::MOrderAuditDialog().
MTGetOrderAudit & MTGetOrderAudit::operator= | ( | const MTGetOrderAudit & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetOrderAudit_Private::attach(), and MTGetOrderAudit_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aorderid | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetOrderAudit().
|
friend |
Referenced by MTGetOrderAudit().