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