MagicSmoke  $VERSION$
MTGetUserAudit Class Reference

returns all order related data the user has touched More...

#include <srcMTGetUserAudit.h>

Inheritance diagram for MTGetUserAudit:
MTransaction

Public Member Functions

 MTGetUserAudit ()
 default constructor: generates an invalid transaction More...
 
 MTGetUserAudit (const MTGetUserAudit &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetUserAudit ()
 deletes this instance More...
 
Q_SLOT QList< MOItemAuditgetitems () const
 
Q_SLOT QList< MOOrderAuditgetorders () const
 
Q_SLOT QList< MOTicketAuditgettickets () const
 
Q_SLOT Nullable< QString > getuname () const
 
Q_SLOT QList< MOVoucherAuditgetvouchers () const
 
MTGetUserAuditoperator= (const MTGetUserAudit &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTGetUserAudit asyncQuery (const QString &auname, const qint64 &aoldest, 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 MTGetUserAudit query (const QString &auname, const qint64 &aoldest, 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

 MTGetUserAudit (const QString &auname, const qint64 &aoldest, 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 MTGetUserAudit_Private
 

Detailed Description

returns all order related data the user has touched

Constructor & Destructor Documentation

MTGetUserAudit::MTGetUserAudit ( const QString &  auname,
const qint64 &  aoldest,
QString  iface 
)
explicitprotected

generates an instance from its properties

Parameters
auname
aoldest
ifaceID of the interface that the transaction will be sent on

References MTGetUserAudit_Private::in_oldest, MTGetUserAudit_Private::in_uname, and MTGetUserAudit_Private.

MTGetUserAudit::MTGetUserAudit ( )

default constructor: generates an invalid transaction

References MTGetUserAudit_Private.

MTGetUserAudit::MTGetUserAudit ( const MTGetUserAudit t)

copy constructor: the two copies share their state

References MTGetUserAudit_Private::attach().

MTGetUserAudit::~MTGetUserAudit ( )
virtual

deletes this instance

References MTGetUserAudit_Private::detach().

Member Function Documentation

MTGetUserAudit MTGetUserAudit::asyncQuery ( const QString &  auname,
const qint64 &  aoldest,
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
auname
aoldest
ifaceID of the interface that the transaction will be sent on
void MTGetUserAudit::endQuery ( )
protectedvirtual
QList< MOItemAudit > MTGetUserAudit::getitems ( ) const
QList< MOOrderAudit > MTGetUserAudit::getorders ( ) const
QList< MOTicketAudit > MTGetUserAudit::gettickets ( ) const
Nullable< QString > MTGetUserAudit::getuname ( ) const
QList< MOVoucherAudit > MTGetUserAudit::getvouchers ( ) const
MTGetUserAudit & MTGetUserAudit::operator= ( const MTGetUserAudit t)

copy assignment: the copy shares the state of the original object

References MTGetUserAudit_Private::attach(), and MTGetUserAudit_Private::detach().

MTGetUserAudit MTGetUserAudit::query ( const QString &  auname,
const qint64 &  aoldest,
QString  iface = "MagicSmoke" 
)
static

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

Parameters
auname
aoldest
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryGetUserAudit().

Friends And Related Function Documentation

friend class MTGetUserAudit_Private
friend

Referenced by MTGetUserAudit().


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