MagicSmoke  $VERSION$
MTChangeCustomerMail Class Reference

changes customer login data More...

#include <srcMTChangeCustomerMail.h>

Inheritance diagram for MTChangeCustomerMail:
MTransaction

Public Member Functions

 MTChangeCustomerMail ()
 default constructor: generates an invalid transaction More...
 
 MTChangeCustomerMail (const MTChangeCustomerMail &)
 copy constructor: the two copies share their state More...
 
virtual ~MTChangeCustomerMail ()
 deletes this instance More...
 
Q_SLOT Nullable< MOCustomergetcustomer () const
 
MTChangeCustomerMailoperator= (const MTChangeCustomerMail &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

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

 MTChangeCustomerMail (const qint64 &acustomerid, const QString &aemail, 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 MTChangeCustomerMail_Private
 

Detailed Description

changes customer login data

Constructor & Destructor Documentation

MTChangeCustomerMail::MTChangeCustomerMail ( const qint64 &  acustomerid,
const QString &  aemail,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTChangeCustomerMail_Private::in_customerid, MTChangeCustomerMail_Private::in_email, and MTChangeCustomerMail_Private.

MTChangeCustomerMail::MTChangeCustomerMail ( )

default constructor: generates an invalid transaction

References MTChangeCustomerMail_Private.

MTChangeCustomerMail::MTChangeCustomerMail ( const MTChangeCustomerMail t)

copy constructor: the two copies share their state

References MTChangeCustomerMail_Private::attach().

MTChangeCustomerMail::~MTChangeCustomerMail ( )
virtual

deletes this instance

References MTChangeCustomerMail_Private::detach().

Member Function Documentation

MTChangeCustomerMail MTChangeCustomerMail::asyncQuery ( const qint64 &  acustomerid,
const QString &  aemail,
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
aemail
ifaceID of the interface that the transaction will be sent on
void MTChangeCustomerMail::endQuery ( )
protectedvirtual
Nullable< MOCustomer > MTChangeCustomerMail::getcustomer ( ) const
MTChangeCustomerMail & MTChangeCustomerMail::operator= ( const MTChangeCustomerMail t)

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

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

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

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

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

Referenced by MInterface::queryChangeCustomerMail().

Friends And Related Function Documentation

friend class MTChangeCustomerMail_Private
friend

Referenced by MTChangeCustomerMail().


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