MagicSmoke
$VERSION$
|
Returns one specific user by name. More...
#include <srcMTGetUser.h>
Public Member Functions | |
MTGetUser () | |
default constructor: generates an invalid transaction More... | |
MTGetUser (const MTGetUser &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetUser () |
deletes this instance More... | |
Q_SLOT Nullable< MOUser > | getuser () const |
MTGetUser & | operator= (const MTGetUser &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetUser | asyncQuery (const QString &auname, 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 MTGetUser | query (const QString &auname, 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 | |
MTGetUser (const QString &auname, 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 | MTGetUser_Private |
Returns one specific user by name.
|
explicitprotected |
generates an instance from its properties
auname | |
iface | ID of the interface that the transaction will be sent on |
References MTGetUser_Private::in_uname, and MTGetUser_Private.
MTGetUser::MTGetUser | ( | ) |
default constructor: generates an invalid transaction
References MTGetUser_Private.
MTGetUser::MTGetUser | ( | const MTGetUser & | t | ) |
copy constructor: the two copies share their state
References MTGetUser_Private::attach().
|
virtual |
deletes this instance
References MTGetUser_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
auname | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOUser > MTGetUser::getuser | ( | ) | const |
References MTGetUser_Private::out_user.
copy assignment: the copy shares the state of the original object
References MTGetUser_Private::attach(), and MTGetUser_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
auname | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetUser().
|
friend |
Referenced by MTGetUser().