MagicSmoke  $VERSION$
MTGetEvent Class Reference

returns detailed event data More...

#include <srcMTGetEvent.h>

Inheritance diagram for MTGetEvent:
MTransaction

Public Member Functions

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

Static Public Member Functions

static MTGetEvent 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 MTGetEvent 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

 MTGetEvent (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 MTGetEvent_Private
 

Detailed Description

returns detailed event data

Constructor & Destructor Documentation

MTGetEvent::MTGetEvent ( 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 MTGetEvent_Private::in_eventid, and MTGetEvent_Private.

MTGetEvent::MTGetEvent ( )

default constructor: generates an invalid transaction

References MTGetEvent_Private.

MTGetEvent::MTGetEvent ( const MTGetEvent t)

copy constructor: the two copies share their state

References MTGetEvent_Private::attach().

MTGetEvent::~MTGetEvent ( )
virtual

deletes this instance

References MTGetEvent_Private::detach().

Member Function Documentation

MTGetEvent MTGetEvent::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 MTGetEvent::endQuery ( )
protectedvirtual
Nullable< MOEvent > MTGetEvent::getevent ( ) const
MTGetEvent & MTGetEvent::operator= ( const MTGetEvent t)

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

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

MTGetEvent MTGetEvent::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 MEventEditor::MEventEditor(), and MInterface::queryGetEvent().

Friends And Related Function Documentation

friend class MTGetEvent_Private
friend

Referenced by MTGetEvent().


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