MagicSmoke  $VERSION$
MTGetAddress Class Reference

returns data of one specific address without the remaining customer info More...

#include <srcMTGetAddress.h>

Inheritance diagram for MTGetAddress:
MTransaction

Public Member Functions

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

Static Public Member Functions

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

 MTGetAddress (const qint64 &aaddressid, 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 MTGetAddress_Private
 

Detailed Description

returns data of one specific address without the remaining customer info

Constructor & Destructor Documentation

MTGetAddress::MTGetAddress ( const qint64 &  aaddressid,
QString  iface 
)
explicitprotected

generates an instance from its properties

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

References MTGetAddress_Private::in_addressid, and MTGetAddress_Private.

MTGetAddress::MTGetAddress ( )

default constructor: generates an invalid transaction

References MTGetAddress_Private.

MTGetAddress::MTGetAddress ( const MTGetAddress t)

copy constructor: the two copies share their state

References MTGetAddress_Private::attach().

MTGetAddress::~MTGetAddress ( )
virtual

deletes this instance

References MTGetAddress_Private::detach().

Member Function Documentation

MTGetAddress MTGetAddress::asyncQuery ( const qint64 &  aaddressid,
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
aaddressid
ifaceID of the interface that the transaction will be sent on
void MTGetAddress::endQuery ( )
protectedvirtual
Nullable< MOAddress > MTGetAddress::getaddress ( ) const
MTGetAddress & MTGetAddress::operator= ( const MTGetAddress t)

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

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

MTGetAddress MTGetAddress::query ( const qint64 &  aaddressid,
QString  iface = "MagicSmoke" 
)
static

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

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

Referenced by MInterface::queryGetAddress(), and MAddressWidget::setAddress().

Friends And Related Function Documentation

friend class MTGetAddress_Private
friend

Referenced by MTGetAddress().


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