MagicSmoke  $VERSION$
MTGetEventSaleInfo Class Reference

returns the information necessary to handle sales with seat plans More...

#include <srcMTGetEventSaleInfo.h>

Inheritance diagram for MTGetEventSaleInfo:
MTransaction

Public Member Functions

 MTGetEventSaleInfo ()
 default constructor: generates an invalid transaction More...
 
 MTGetEventSaleInfo (const MTGetEventSaleInfo &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetEventSaleInfo ()
 deletes this instance More...
 
Q_SLOT Nullable< MOEventSaleInfogetevent () const
 
MTGetEventSaleInfooperator= (const MTGetEventSaleInfo &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTGetEventSaleInfo asyncQuery (const qint64 &aeventid, 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 MTGetEventSaleInfo query (const qint64 &aeventid, 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

 MTGetEventSaleInfo (const qint64 &aeventid, 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 MTGetEventSaleInfo_Private
 

Detailed Description

returns the information necessary to handle sales with seat plans

Constructor & Destructor Documentation

MTGetEventSaleInfo::MTGetEventSaleInfo ( const qint64 &  aeventid,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTGetEventSaleInfo_Private::in_eventid, and MTGetEventSaleInfo_Private.

MTGetEventSaleInfo::MTGetEventSaleInfo ( )

default constructor: generates an invalid transaction

References MTGetEventSaleInfo_Private.

MTGetEventSaleInfo::MTGetEventSaleInfo ( const MTGetEventSaleInfo t)

copy constructor: the two copies share their state

References MTGetEventSaleInfo_Private::attach().

MTGetEventSaleInfo::~MTGetEventSaleInfo ( )
virtual

deletes this instance

References MTGetEventSaleInfo_Private::detach().

Member Function Documentation

MTGetEventSaleInfo MTGetEventSaleInfo::asyncQuery ( const qint64 &  aeventid,
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
aeventid
ifaceID of the interface that the transaction will be sent on
void MTGetEventSaleInfo::endQuery ( )
protectedvirtual
Nullable< MOEventSaleInfo > MTGetEventSaleInfo::getevent ( ) const
MTGetEventSaleInfo & MTGetEventSaleInfo::operator= ( const MTGetEventSaleInfo t)

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

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

MTGetEventSaleInfo MTGetEventSaleInfo::query ( const qint64 &  aeventid,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::queryGetEventSaleInfo().

Friends And Related Function Documentation

friend class MTGetEventSaleInfo_Private
friend

Referenced by MTGetEventSaleInfo().


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