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