MagicSmoke  $VERSION$
MTGetTemplateList Class Reference

Returns the list of templates that this user can access. This transaction is sensitive to flags. More...

#include <srcMTGetTemplateList.h>

Inheritance diagram for MTGetTemplateList:
MTransaction

Public Member Functions

 MTGetTemplateList ()
 default constructor: generates an invalid transaction More...
 
 MTGetTemplateList (const MTGetTemplateList &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetTemplateList ()
 deletes this instance More...
 
Q_SLOT QList< MOTemplateInfogettemplates () const
 
MTGetTemplateListoperator= (const MTGetTemplateList &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTGetTemplateList asyncQuery (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 MTGetTemplateList query (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

 MTGetTemplateList (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 MTGetTemplateList_Private
 

Detailed Description

Returns the list of templates that this user can access. This transaction is sensitive to flags.

Constructor & Destructor Documentation

MTGetTemplateList::MTGetTemplateList ( QString  iface)
explicitprotected

generates an instance from its properties

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

References MTGetTemplateList_Private.

MTGetTemplateList::MTGetTemplateList ( )

default constructor: generates an invalid transaction

References MTGetTemplateList_Private.

MTGetTemplateList::MTGetTemplateList ( const MTGetTemplateList t)

copy constructor: the two copies share their state

References MTGetTemplateList_Private::attach().

MTGetTemplateList::~MTGetTemplateList ( )
virtual

deletes this instance

References MTGetTemplateList_Private::detach().

Member Function Documentation

MTGetTemplateList MTGetTemplateList::asyncQuery ( 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
ifaceID of the interface that the transaction will be sent on
void MTGetTemplateList::endQuery ( )
protectedvirtual
QList< MOTemplateInfo > MTGetTemplateList::gettemplates ( ) const
MTGetTemplateList & MTGetTemplateList::operator= ( const MTGetTemplateList t)

copy assignment: the copy shares the state of the original object

References MTGetTemplateList_Private::attach(), and MTGetTemplateList_Private::detach().

MTGetTemplateList MTGetTemplateList::query ( QString  iface = "MagicSmoke")
static

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

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

Referenced by MInterface::queryGetTemplateList().

Friends And Related Function Documentation

friend class MTGetTemplateList_Private
friend

Referenced by MTGetTemplateList().


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