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