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