MagicSmoke
$VERSION$
|
Changes the flags of the template. More...
#include <srcMTSetTemplateFlags.h>
Public Member Functions | |
MTSetTemplateFlags () | |
default constructor: generates an invalid transaction More... | |
MTSetTemplateFlags (const MTSetTemplateFlags &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTSetTemplateFlags () |
deletes this instance More... | |
MTSetTemplateFlags & | operator= (const MTSetTemplateFlags &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTSetTemplateFlags | asyncQuery (const QString &afilename, const QString &aflags, 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 MTSetTemplateFlags | query (const QString &afilename, const QString &aflags, 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 | |
MTSetTemplateFlags (const QString &afilename, const QString &aflags, 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 | MTSetTemplateFlags_Private |
Changes the flags of the template.
|
explicitprotected |
generates an instance from its properties
afilename | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
References MTSetTemplateFlags_Private::in_filename, MTSetTemplateFlags_Private::in_flags, and MTSetTemplateFlags_Private.
MTSetTemplateFlags::MTSetTemplateFlags | ( | ) |
default constructor: generates an invalid transaction
References MTSetTemplateFlags_Private.
MTSetTemplateFlags::MTSetTemplateFlags | ( | const MTSetTemplateFlags & | t | ) |
copy constructor: the two copies share their state
References MTSetTemplateFlags_Private::attach().
|
virtual |
deletes this instance
References MTSetTemplateFlags_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
afilename | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
MTSetTemplateFlags & MTSetTemplateFlags::operator= | ( | const MTSetTemplateFlags & | t | ) |
copy assignment: the copy shares the state of the original object
References MTSetTemplateFlags_Private::attach(), and MTSetTemplateFlags_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
afilename | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::querySetTemplateFlags().
|
friend |
Referenced by MTSetTemplateFlags().