|
MagicSmoke
$VERSION$
|
Admins: change/reset the password of a specific user. To be used when a user forgot his/her password. More...
#include <srcMTChangePassword.h>
Public Member Functions | |
| MTChangePassword () | |
| default constructor: generates an invalid transaction More... | |
| MTChangePassword (const MTChangePassword &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTChangePassword () |
| deletes this instance More... | |
| MTChangePassword & | operator= (const MTChangePassword &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTChangePassword | asyncQuery (const QString &ausername, const QString &apassword, 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 MTChangePassword | query (const QString &ausername, const QString &apassword, 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 | |
| MTChangePassword (const QString &ausername, const QString &apassword, QString iface) | |
| generates an instance from its properties More... | |
| virtual bool | canLogRequest () const |
| 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 | MTChangePassword_Private |
Admins: change/reset the password of a specific user. To be used when a user forgot his/her password.
|
explicitprotected |
generates an instance from its properties
| ausername | |
| apassword | |
| iface | ID of the interface that the transaction will be sent on |
References MTChangePassword_Private::in_password, MTChangePassword_Private::in_username, and MTChangePassword_Private.
| MTChangePassword::MTChangePassword | ( | ) |
default constructor: generates an invalid transaction
References MTChangePassword_Private.
| MTChangePassword::MTChangePassword | ( | const MTChangePassword & | t | ) |
copy constructor: the two copies share their state
References MTChangePassword_Private::attach().
|
virtual |
deletes this instance
References MTChangePassword_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| ausername | |
| apassword | |
| iface | ID of the interface that the transaction will be sent on |
|
inlineprotectedvirtual |
|
protectedvirtual |
| MTChangePassword & MTChangePassword::operator= | ( | const MTChangePassword & | t | ) |
copy assignment: the copy shares the state of the original object
References MTChangePassword_Private::attach(), and MTChangePassword_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| ausername | |
| apassword | |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryChangePassword().
|
friend |
Referenced by MTChangePassword().