MagicSmoke  $VERSION$
MTSetTemplateDescription Class Reference

Changes the description of a template. More...

#include <srcMTSetTemplateDescription.h>

Inheritance diagram for MTSetTemplateDescription:
MTransaction

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...
 
MTSetTemplateDescriptionoperator= (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
 

Detailed Description

Changes the description of a template.

Constructor & Destructor Documentation

MTSetTemplateDescription::MTSetTemplateDescription ( const QString &  afilename,
const QString &  adescription,
QString  iface 
)
explicitprotected

generates an instance from its properties

Parameters
afilename
adescription
ifaceID 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().

MTSetTemplateDescription::~MTSetTemplateDescription ( )
virtual

deletes this instance

References MTSetTemplateDescription_Private::detach().

Member Function Documentation

MTSetTemplateDescription MTSetTemplateDescription::asyncQuery ( const QString &  afilename,
const QString &  adescription,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state

Parameters
afilename
adescription
ifaceID of the interface that the transaction will be sent on
void MTSetTemplateDescription::endQuery ( )
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().

MTSetTemplateDescription MTSetTemplateDescription::query ( const QString &  afilename,
const QString &  adescription,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the finished transaction object

Parameters
afilename
adescription
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::querySetTemplateDescription().

Friends And Related Function Documentation


The documentation for this class was generated from the following files: