MagicSmoke
$VERSION$
|
returns all audit data for a ticket (when it was bought, changed prices, when it was used) More...
#include <srcMTGetTicketAudit.h>
Public Member Functions | |
MTGetTicketAudit () | |
default constructor: generates an invalid transaction More... | |
MTGetTicketAudit (const MTGetTicketAudit &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetTicketAudit () |
deletes this instance More... | |
Q_SLOT QList< MOEvent > | getevent () const |
Q_SLOT QList< MOTicketAudit > | getticket () const |
MTGetTicketAudit & | operator= (const MTGetTicketAudit &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetTicketAudit | asyncQuery (const QString &aticketid, 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 MTGetTicketAudit | query (const QString &aticketid, 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 | |
MTGetTicketAudit (const QString &aticketid, 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 | MTGetTicketAudit_Private |
returns all audit data for a ticket (when it was bought, changed prices, when it was used)
|
explicitprotected |
generates an instance from its properties
aticketid | |
iface | ID of the interface that the transaction will be sent on |
References MTGetTicketAudit_Private::in_ticketid, and MTGetTicketAudit_Private.
MTGetTicketAudit::MTGetTicketAudit | ( | ) |
default constructor: generates an invalid transaction
References MTGetTicketAudit_Private.
MTGetTicketAudit::MTGetTicketAudit | ( | const MTGetTicketAudit & | t | ) |
copy constructor: the two copies share their state
References MTGetTicketAudit_Private::attach().
|
virtual |
deletes this instance
References MTGetTicketAudit_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aticketid | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
QList< MOEvent > MTGetTicketAudit::getevent | ( | ) | const |
References MTGetTicketAudit_Private::out_event.
Referenced by MOrderAuditDialog::openTicketAuditDialog().
QList< MOTicketAudit > MTGetTicketAudit::getticket | ( | ) | const |
References MTGetTicketAudit_Private::out_ticket.
Referenced by MOrderAuditDialog::openTicketAuditDialog().
MTGetTicketAudit & MTGetTicketAudit::operator= | ( | const MTGetTicketAudit & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetTicketAudit_Private::attach(), and MTGetTicketAudit_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aticketid | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetTicketAudit().
|
friend |
Referenced by MTGetTicketAudit().