|
MagicSmoke
$VERSION$
|
Deletes a host from which users can log in. If the host has been used, then users will lose the ability to log in from it. More...
#include <srcMTDeleteHost.h>
Public Member Functions | |
| MTDeleteHost () | |
| default constructor: generates an invalid transaction More... | |
| MTDeleteHost (const MTDeleteHost &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTDeleteHost () |
| deletes this instance More... | |
| MTDeleteHost & | operator= (const MTDeleteHost &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTDeleteHost | asyncQuery (const QString &aname, 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 MTDeleteHost | query (const QString &aname, 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 | |
| MTDeleteHost (const QString &aname, 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 | MTDeleteHost_Private |
Deletes a host from which users can log in. If the host has been used, then users will lose the ability to log in from it.
|
explicitprotected |
generates an instance from its properties
| aname | |
| iface | ID of the interface that the transaction will be sent on |
References MTDeleteHost_Private::in_name, and MTDeleteHost_Private.
| MTDeleteHost::MTDeleteHost | ( | ) |
default constructor: generates an invalid transaction
References MTDeleteHost_Private.
| MTDeleteHost::MTDeleteHost | ( | const MTDeleteHost & | t | ) |
copy constructor: the two copies share their state
References MTDeleteHost_Private::attach().
|
virtual |
deletes this instance
References MTDeleteHost_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| aname | |
| iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
| MTDeleteHost & MTDeleteHost::operator= | ( | const MTDeleteHost & | t | ) |
copy assignment: the copy shares the state of the original object
References MTDeleteHost_Private::attach(), and MTDeleteHost_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| aname | |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryDeleteHost().
|
friend |
Referenced by MTDeleteHost().