MagicSmoke
$VERSION$
|
Changes the flags of a user. Flags determine what data (events, templates, etc.) a user can use. More...
#include <srcMTSetUserFlags.h>
Public Member Functions | |
MTSetUserFlags () | |
default constructor: generates an invalid transaction More... | |
MTSetUserFlags (const MTSetUserFlags &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTSetUserFlags () |
deletes this instance More... | |
MTSetUserFlags & | operator= (const MTSetUserFlags &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTSetUserFlags | asyncQuery (const QString &ausername, 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 MTSetUserFlags | query (const QString &ausername, 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 | |
MTSetUserFlags (const QString &ausername, 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 | MTSetUserFlags_Private |
Changes the flags of a user. Flags determine what data (events, templates, etc.) a user can use.
|
explicitprotected |
generates an instance from its properties
ausername | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
References MTSetUserFlags_Private::in_flags, MTSetUserFlags_Private::in_username, and MTSetUserFlags_Private.
MTSetUserFlags::MTSetUserFlags | ( | ) |
default constructor: generates an invalid transaction
References MTSetUserFlags_Private.
MTSetUserFlags::MTSetUserFlags | ( | const MTSetUserFlags & | t | ) |
copy constructor: the two copies share their state
References MTSetUserFlags_Private::attach().
|
virtual |
deletes this instance
References MTSetUserFlags_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
ausername | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
MTSetUserFlags & MTSetUserFlags::operator= | ( | const MTSetUserFlags & | t | ) |
copy assignment: the copy shares the state of the original object
References MTSetUserFlags_Private::attach(), and MTSetUserFlags_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
ausername | |
aflags | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::querySetUserFlags().
|
friend |
Referenced by MTSetUserFlags().