MagicSmoke  $VERSION$
MTGetCreateCustomerHints Class Reference

Returns all info that helps in creating customers, like common titles, cities, countries, etc. More...

#include <srcMTGetCreateCustomerHints.h>

Inheritance diagram for MTGetCreateCustomerHints:
MTransaction

Public Member Functions

 MTGetCreateCustomerHints ()
 default constructor: generates an invalid transaction More...
 
 MTGetCreateCustomerHints (const MTGetCreateCustomerHints &)
 copy constructor: the two copies share their state More...
 
virtual ~MTGetCreateCustomerHints ()
 deletes this instance More...
 
Q_SLOT QList< QString > getcities () const
 
Q_SLOT QList< MOContactTypegetcontacttypes () const
 
Q_SLOT QList< MOCountrygetcountries () const
 
Q_SLOT QList< QString > getstates () const
 
Q_SLOT QList< QString > gettitles () const
 
MTGetCreateCustomerHintsoperator= (const MTGetCreateCustomerHints &)
 copy assignment: the copy shares the state of the original object More...
 

Static Public Member Functions

static MTGetCreateCustomerHints asyncQuery (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 MTGetCreateCustomerHints query (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

 MTGetCreateCustomerHints (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 MTGetCreateCustomerHints_Private
 

Detailed Description

Returns all info that helps in creating customers, like common titles, cities, countries, etc.

Constructor & Destructor Documentation

MTGetCreateCustomerHints::MTGetCreateCustomerHints ( QString  iface)
explicitprotected

generates an instance from its properties

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

References MTGetCreateCustomerHints_Private.

MTGetCreateCustomerHints::MTGetCreateCustomerHints ( )

default constructor: generates an invalid transaction

References MTGetCreateCustomerHints_Private.

MTGetCreateCustomerHints::MTGetCreateCustomerHints ( const MTGetCreateCustomerHints t)

copy constructor: the two copies share their state

References MTGetCreateCustomerHints_Private::attach().

MTGetCreateCustomerHints::~MTGetCreateCustomerHints ( )
virtual

deletes this instance

References MTGetCreateCustomerHints_Private::detach().

Member Function Documentation

MTGetCreateCustomerHints MTGetCreateCustomerHints::asyncQuery ( 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
ifaceID of the interface that the transaction will be sent on
void MTGetCreateCustomerHints::endQuery ( )
protectedvirtual
QList< QString > MTGetCreateCustomerHints::getcities ( ) const
QList< MOContactType > MTGetCreateCustomerHints::getcontacttypes ( ) const
QList< MOCountry > MTGetCreateCustomerHints::getcountries ( ) const
QList< QString > MTGetCreateCustomerHints::getstates ( ) const
QList< QString > MTGetCreateCustomerHints::gettitles ( ) const
MTGetCreateCustomerHints & MTGetCreateCustomerHints::operator= ( const MTGetCreateCustomerHints t)

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

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

MTGetCreateCustomerHints MTGetCreateCustomerHints::query ( QString  iface = "MagicSmoke")
static

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

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

Referenced by MInterface::queryGetCreateCustomerHints().

Friends And Related Function Documentation


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