MagicSmoke
$VERSION$
|
Changes the flags assigned to a role. This changes the data that users with this role can see. More...
#include <srcMTSetRoleFlags.h>
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... | |
MTSetRoleFlags & | operator= (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 |
Changes the flags assigned to a role. This changes the data that users with this role can see.
|
explicitprotected |
generates an instance from its properties
arole | |
aflags | |
iface | ID 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().
|
virtual |
deletes this instance
References MTSetRoleFlags_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
arole | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
|
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().
|
static |
emits the query over the network and returns the finished transaction object
arole | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MRoleTab::editFlags(), and MInterface::querySetRoleFlags().
|
friend |
Referenced by MTSetRoleFlags().