|
MagicSmoke
$VERSION$
|
Changes the password of the user of the current session. This may fail if the old password does not match or the new password is too weak. More...
#include <srcMTChangeMyPassword.h>
Public Member Functions | |
| MTChangeMyPassword () | |
| default constructor: generates an invalid transaction More... | |
| MTChangeMyPassword (const MTChangeMyPassword &) | |
| copy constructor: the two copies share their state More... | |
| virtual | ~MTChangeMyPassword () |
| deletes this instance More... | |
| MTChangeMyPassword & | operator= (const MTChangeMyPassword &) |
| copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
| static MTChangeMyPassword | asyncQuery (const QString &aoldpassword, const QString &anewpassword, 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 MTChangeMyPassword | query (const QString &aoldpassword, const QString &anewpassword, 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 | |
| MTChangeMyPassword (const QString &aoldpassword, const QString &anewpassword, 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 | MTChangeMyPassword_Private |
Changes the password of the user of the current session. This may fail if the old password does not match or the new password is too weak.
|
explicitprotected |
generates an instance from its properties
| aoldpassword | this must match the old password of the user to authenticate the change |
| anewpassword | this is the new password |
| iface | ID of the interface that the transaction will be sent on |
References MTChangeMyPassword_Private::in_newpassword, MTChangeMyPassword_Private::in_oldpassword, and MTChangeMyPassword_Private.
| MTChangeMyPassword::MTChangeMyPassword | ( | ) |
default constructor: generates an invalid transaction
References MTChangeMyPassword_Private.
| MTChangeMyPassword::MTChangeMyPassword | ( | const MTChangeMyPassword & | t | ) |
copy constructor: the two copies share their state
References MTChangeMyPassword_Private::attach().
|
virtual |
deletes this instance
References MTChangeMyPassword_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
| aoldpassword | this must match the old password of the user to authenticate the change |
| anewpassword | this is the new password |
| iface | ID of the interface that the transaction will be sent on |
|
inlineprotectedvirtual |
|
protectedvirtual |
| MTChangeMyPassword & MTChangeMyPassword::operator= | ( | const MTChangeMyPassword & | t | ) |
copy assignment: the copy shares the state of the original object
References MTChangeMyPassword_Private::attach(), and MTChangeMyPassword_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
| aoldpassword | this must match the old password of the user to authenticate the change |
| anewpassword | this is the new password |
| iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryChangeMyPassword().
|
friend |
Referenced by MTChangeMyPassword().