MagicSmoke
$VERSION$
|
returns detailed event data More...
#include <srcMTGetEvent.h>
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< MOEvent > | getevent () const |
MTGetEvent & | operator= (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 |
returns detailed event data
|
explicitprotected |
generates an instance from its properties
aeventid | |
iface | ID 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().
|
virtual |
deletes this instance
References MTGetEvent_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aeventid | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOEvent > MTGetEvent::getevent | ( | ) | const |
References MTGetEvent_Private::out_event.
Referenced by MOTicket::event(), MEventEditor::MEventEditor(), and MOEvent::MOEvent().
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().
|
static |
emits the query over the network and returns the finished transaction object
aeventid | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MEventEditor::MEventEditor(), and MInterface::queryGetEvent().
|
friend |
Referenced by MTGetEvent().