MagicSmoke
$VERSION$
|
Changes the roles assigned to a specific user. More...
#include <srcMTSetUserRoles.h>
Public Member Functions | |
MTSetUserRoles () | |
default constructor: generates an invalid transaction More... | |
MTSetUserRoles (const MTSetUserRoles &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTSetUserRoles () |
deletes this instance More... | |
MTSetUserRoles & | operator= (const MTSetUserRoles &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTSetUserRoles | asyncQuery (const QString &ausername, const QList< QString > &aroles, 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 MTSetUserRoles | query (const QString &ausername, const QList< QString > &aroles, 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 | |
MTSetUserRoles (const QString &ausername, const QList< QString > &aroles, 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 | MTSetUserRoles_Private |
Changes the roles assigned to a specific user.
|
explicitprotected |
generates an instance from its properties
ausername | |
aroles | |
iface | ID of the interface that the transaction will be sent on |
References MTSetUserRoles_Private::in_roles, MTSetUserRoles_Private::in_username, and MTSetUserRoles_Private.
MTSetUserRoles::MTSetUserRoles | ( | ) |
default constructor: generates an invalid transaction
References MTSetUserRoles_Private.
MTSetUserRoles::MTSetUserRoles | ( | const MTSetUserRoles & | t | ) |
copy constructor: the two copies share their state
References MTSetUserRoles_Private::attach().
|
virtual |
deletes this instance
References MTSetUserRoles_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
ausername | |
aroles | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
MTSetUserRoles & MTSetUserRoles::operator= | ( | const MTSetUserRoles & | t | ) |
copy assignment: the copy shares the state of the original object
References MTSetUserRoles_Private::attach(), and MTSetUserRoles_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
ausername | |
aroles | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::querySetUserRoles().
|
friend |
Referenced by MTSetUserRoles().