MagicSmoke  $VERSION$
MTGetOrderAudit Class Reference

returns all audit data for an order (when it was created, who handled it, when it was paid and how, ... More...

#include <srcMTGetOrderAudit.h>

Inheritance diagram for MTGetOrderAudit:
MTransaction

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< MOOrderAuditgetorder () const
 
Q_SLOT QList< MOTicketAuditgettickets () const
 
Q_SLOT QList< MOVoucherAuditgetvouchers () const
 
MTGetOrderAuditoperator= (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
 

Detailed Description

returns all audit data for an order (when it was created, who handled it, when it was paid and how, ...

Constructor & Destructor Documentation

MTGetOrderAudit::MTGetOrderAudit ( const qint64 &  aorderid,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

MTGetOrderAudit::~MTGetOrderAudit ( )
virtual

deletes this instance

References MTGetOrderAudit_Private::detach().

Member Function Documentation

MTGetOrderAudit MTGetOrderAudit::asyncQuery ( const qint64 &  aorderid,
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
aorderid
ifaceID of the interface that the transaction will be sent on
void MTGetOrderAudit::endQuery ( )
protectedvirtual
QList< MOTicketAudit > MTGetOrderAudit::gettickets ( ) const
QList< MOVoucherAudit > MTGetOrderAudit::getvouchers ( ) const
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().

MTGetOrderAudit MTGetOrderAudit::query ( const qint64 &  aorderid,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::queryGetOrderAudit().

Friends And Related Function Documentation

friend class MTGetOrderAudit_Private
friend

Referenced by MTGetOrderAudit().


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