MagicSmoke  $VERSION$
MTSetRoleFlags Class Reference

Changes the flags assigned to a role. This changes the data that users with this role can see. More...

#include <srcMTSetRoleFlags.h>

Inheritance diagram for MTSetRoleFlags:
MTransaction

Public Member Functions

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

Static Public Member Functions

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

 MTSetRoleFlags (const QString &arole, const QList< 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 MTSetRoleFlags_Private
 

Detailed Description

Changes the flags assigned to a role. This changes the data that users with this role can see.

Constructor & Destructor Documentation

MTSetRoleFlags::MTSetRoleFlags ( const QString &  arole,
const QList< QString > &  aflags,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTSetRoleFlags_Private::in_flags, MTSetRoleFlags_Private::in_role, and MTSetRoleFlags_Private.

MTSetRoleFlags::MTSetRoleFlags ( )

default constructor: generates an invalid transaction

References MTSetRoleFlags_Private.

MTSetRoleFlags::MTSetRoleFlags ( const MTSetRoleFlags t)

copy constructor: the two copies share their state

References MTSetRoleFlags_Private::attach().

MTSetRoleFlags::~MTSetRoleFlags ( )
virtual

deletes this instance

References MTSetRoleFlags_Private::detach().

Member Function Documentation

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

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

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

MTSetRoleFlags MTSetRoleFlags::query ( const QString &  arole,
const QList< QString > &  aflags,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MRoleTab::editFlags(), and MInterface::querySetRoleFlags().

Friends And Related Function Documentation

friend class MTSetRoleFlags_Private
friend

Referenced by MTSetRoleFlags().


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