MagicSmoke  $VERSION$
MTSetTemplateFlags Class Reference

Changes the flags of the template. More...

#include <srcMTSetTemplateFlags.h>

Inheritance diagram for MTSetTemplateFlags:
MTransaction

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

Detailed Description

Changes the flags of the template.

Constructor & Destructor Documentation

MTSetTemplateFlags::MTSetTemplateFlags ( const QString &  afilename,
const QString &  aflags,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

MTSetTemplateFlags::~MTSetTemplateFlags ( )
virtual

deletes this instance

References MTSetTemplateFlags_Private::detach().

Member Function Documentation

MTSetTemplateFlags MTSetTemplateFlags::asyncQuery ( const QString &  afilename,
const QString &  aflags,
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
aflags
ifaceID of the interface that the transaction will be sent on
void MTSetTemplateFlags::endQuery ( )
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().

MTSetTemplateFlags MTSetTemplateFlags::query ( const QString &  afilename,
const QString &  aflags,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::querySetTemplateFlags().

Friends And Related Function Documentation

friend class MTSetTemplateFlags_Private
friend

Referenced by MTSetTemplateFlags().


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