MagicSmoke
$VERSION$
|
create a new event More...
#include <srcMTCreateEvent.h>
Public Member Functions | |
MTCreateEvent () | |
default constructor: generates an invalid transaction More... | |
MTCreateEvent (const MTCreateEvent &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTCreateEvent () |
deletes this instance More... | |
Q_SLOT Nullable< MOEvent > | getevent () const |
MTCreateEvent & | operator= (const MTCreateEvent &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTCreateEvent | asyncQuery (const MOEvent &aevent, 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 MTCreateEvent | query (const MOEvent &aevent, 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 | |
MTCreateEvent (const MOEvent &aevent, 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 | MTCreateEvent_Private |
create a new event
|
explicitprotected |
generates an instance from its properties
aevent | |
iface | ID of the interface that the transaction will be sent on |
References MTCreateEvent_Private::in_event, and MTCreateEvent_Private.
MTCreateEvent::MTCreateEvent | ( | ) |
default constructor: generates an invalid transaction
References MTCreateEvent_Private.
MTCreateEvent::MTCreateEvent | ( | const MTCreateEvent & | t | ) |
copy constructor: the two copies share their state
References MTCreateEvent_Private::attach().
|
virtual |
deletes this instance
References MTCreateEvent_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aevent | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOEvent > MTCreateEvent::getevent | ( | ) | const |
References MTCreateEvent_Private::out_event.
MTCreateEvent & MTCreateEvent::operator= | ( | const MTCreateEvent & | t | ) |
copy assignment: the copy shares the state of the original object
References MTCreateEvent_Private::attach(), and MTCreateEvent_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aevent | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryCreateEvent().
|
friend |
Referenced by MTCreateEvent().