MagicSmoke  $VERSION$
MTResetCustomerPassword Class Reference

sends a reset password mail to the customer - if the customer has a login More...

#include <srcMTResetCustomerPassword.h>

Inheritance diagram for MTResetCustomerPassword:
MTransaction

Public Member Functions

 MTResetCustomerPassword ()
 default constructor: generates an invalid transaction More...
 
 MTResetCustomerPassword (const MTResetCustomerPassword &)
 copy constructor: the two copies share their state More...
 
virtual ~MTResetCustomerPassword ()
 deletes this instance More...
 
MTResetCustomerPasswordoperator= (const MTResetCustomerPassword &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTResetCustomerPassword asyncQuery (const qint64 &acustomerid, 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 MTResetCustomerPassword query (const qint64 &acustomerid, 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

 MTResetCustomerPassword (const qint64 &acustomerid, 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 MTResetCustomerPassword_Private
 

Detailed Description

sends a reset password mail to the customer - if the customer has a login

Constructor & Destructor Documentation

MTResetCustomerPassword::MTResetCustomerPassword ( const qint64 &  acustomerid,
QString  iface 
)
explicitprotected

generates an instance from its properties

Parameters
acustomerid
ifaceID of the interface that the transaction will be sent on

References MTResetCustomerPassword_Private::in_customerid, and MTResetCustomerPassword_Private.

MTResetCustomerPassword::MTResetCustomerPassword ( )

default constructor: generates an invalid transaction

References MTResetCustomerPassword_Private.

MTResetCustomerPassword::MTResetCustomerPassword ( const MTResetCustomerPassword t)

copy constructor: the two copies share their state

References MTResetCustomerPassword_Private::attach().

MTResetCustomerPassword::~MTResetCustomerPassword ( )
virtual

deletes this instance

References MTResetCustomerPassword_Private::detach().

Member Function Documentation

MTResetCustomerPassword MTResetCustomerPassword::asyncQuery ( const qint64 &  acustomerid,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state

Parameters
acustomerid
ifaceID of the interface that the transaction will be sent on
void MTResetCustomerPassword::endQuery ( )
protectedvirtual
MTResetCustomerPassword & MTResetCustomerPassword::operator= ( const MTResetCustomerPassword t)

copy assignment: the copy shares the state of the original object

References MTResetCustomerPassword_Private::attach(), and MTResetCustomerPassword_Private::detach().

MTResetCustomerPassword MTResetCustomerPassword::query ( const qint64 &  acustomerid,
QString  iface = "MagicSmoke" 
)
static

emits the query over the network and returns the finished transaction object

Parameters
acustomerid
ifaceID of the interface that the transaction will be sent on

Referenced by MInterface::queryResetCustomerPassword().

Friends And Related Function Documentation

friend class MTResetCustomerPassword_Private
friend

Referenced by MTResetCustomerPassword().


The documentation for this class was generated from the following files: