MagicSmoke  $VERSION$
MTGetTicketAudit Class Reference

returns all audit data for a ticket (when it was bought, changed prices, when it was used) More...

#include <srcMTGetTicketAudit.h>

Inheritance diagram for MTGetTicketAudit:
MTransaction

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< MOEventgetevent () const
 
Q_SLOT QList< MOTicketAuditgetticket () const
 
MTGetTicketAuditoperator= (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
 

Detailed Description

returns all audit data for a ticket (when it was bought, changed prices, when it was used)

Constructor & Destructor Documentation

MTGetTicketAudit::MTGetTicketAudit ( const QString &  aticketid,
QString  iface 
)
explicitprotected

generates an instance from its properties

Parameters
aticketid
ifaceID 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().

MTGetTicketAudit::~MTGetTicketAudit ( )
virtual

deletes this instance

References MTGetTicketAudit_Private::detach().

Member Function Documentation

MTGetTicketAudit MTGetTicketAudit::asyncQuery ( const QString &  aticketid,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state

Parameters
aticketid
ifaceID of the interface that the transaction will be sent on
void MTGetTicketAudit::endQuery ( )
protectedvirtual
QList< MOEvent > MTGetTicketAudit::getevent ( ) const
QList< MOTicketAudit > MTGetTicketAudit::getticket ( ) const
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().

MTGetTicketAudit MTGetTicketAudit::query ( const QString &  aticketid,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the finished transaction object

Parameters
aticketid
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryGetTicketAudit().

Friends And Related Function Documentation

friend class MTGetTicketAudit_Private
friend

Referenced by MTGetTicketAudit().


The documentation for this class was generated from the following files: