MagicSmoke  $VERSION$
MTGetVoucherAudit Class Reference

returns all audit data for a voucher (when it was bought, when it was used and for what) More...

#include <srcMTGetVoucherAudit.h>

Inheritance diagram for MTGetVoucherAudit:
MTransaction

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< MOVoucherAuditgetvoucher () const
 
MTGetVoucherAuditoperator= (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
 

Detailed Description

returns all audit data for a voucher (when it was bought, when it was used and for what)

Constructor & Destructor Documentation

MTGetVoucherAudit::MTGetVoucherAudit ( const QString &  avoucherid,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

MTGetVoucherAudit::~MTGetVoucherAudit ( )
virtual

deletes this instance

References MTGetVoucherAudit_Private::detach().

Member Function Documentation

MTGetVoucherAudit MTGetVoucherAudit::asyncQuery ( const QString &  avoucherid,
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
avoucherid
ifaceID of the interface that the transaction will be sent on
void MTGetVoucherAudit::endQuery ( )
protectedvirtual
QList< MOVoucherAudit > MTGetVoucherAudit::getvoucher ( ) const
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().

MTGetVoucherAudit MTGetVoucherAudit::query ( const QString &  avoucherid,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::queryGetVoucherAudit().

Friends And Related Function Documentation

friend class MTGetVoucherAudit_Private
friend

Referenced by MTGetVoucherAudit().


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