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