MagicSmoke  $VERSION$
MTDeleteRole Class Reference

Attempts to delete a role. More...

#include <srcMTDeleteRole.h>

Inheritance diagram for MTDeleteRole:
MTransaction

Public Member Functions

 MTDeleteRole ()
 default constructor: generates an invalid transaction More...
 
 MTDeleteRole (const MTDeleteRole &)
 copy constructor: the two copies share their state More...
 
virtual ~MTDeleteRole ()
 deletes this instance More...
 
MTDeleteRoleoperator= (const MTDeleteRole &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTDeleteRole asyncQuery (const QString &arole, 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 MTDeleteRole query (const QString &arole, 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

 MTDeleteRole (const QString &arole, 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 MTDeleteRole_Private
 

Detailed Description

Attempts to delete a role.

Constructor & Destructor Documentation

MTDeleteRole::MTDeleteRole ( const QString &  arole,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTDeleteRole_Private::in_role, and MTDeleteRole_Private.

MTDeleteRole::MTDeleteRole ( )

default constructor: generates an invalid transaction

References MTDeleteRole_Private.

MTDeleteRole::MTDeleteRole ( const MTDeleteRole t)

copy constructor: the two copies share their state

References MTDeleteRole_Private::attach().

MTDeleteRole::~MTDeleteRole ( )
virtual

deletes this instance

References MTDeleteRole_Private::detach().

Member Function Documentation

MTDeleteRole MTDeleteRole::asyncQuery ( const QString &  arole,
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
arole
ifaceID of the interface that the transaction will be sent on
void MTDeleteRole::endQuery ( )
protectedvirtual
MTDeleteRole & MTDeleteRole::operator= ( const MTDeleteRole t)

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

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

MTDeleteRole MTDeleteRole::query ( const QString &  arole,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MRoleTab::deleteRole(), and MInterface::queryDeleteRole().

Friends And Related Function Documentation

friend class MTDeleteRole_Private
friend

Referenced by MTDeleteRole().


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