MagicSmoke
$VERSION$
|
Returns all info that helps in creating customers, like common titles, cities, countries, etc. More...
#include <srcMTGetCreateCustomerHints.h>
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< MOContactType > | getcontacttypes () const |
Q_SLOT QList< MOCountry > | getcountries () const |
Q_SLOT QList< QString > | getstates () const |
Q_SLOT QList< QString > | gettitles () const |
MTGetCreateCustomerHints & | operator= (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 |
Returns all info that helps in creating customers, like common titles, cities, countries, etc.
|
explicitprotected |
generates an instance from its properties
iface | ID 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().
|
virtual |
deletes this instance
References MTGetCreateCustomerHints_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
QList< QString > MTGetCreateCustomerHints::getcities | ( | ) | const |
References MTGetCreateCustomerHints_Private::out_cities.
Referenced by MNewCustomerWizard::MNewCustomerWizard().
QList< MOContactType > MTGetCreateCustomerHints::getcontacttypes | ( | ) | const |
References MTGetCreateCustomerHints_Private::out_contacttypes.
Referenced by MNewCustomerWizard::MNewCustomerWizard().
QList< MOCountry > MTGetCreateCustomerHints::getcountries | ( | ) | const |
References MTGetCreateCustomerHints_Private::out_countries.
Referenced by MNewCustomerWizard::MNewCustomerWizard().
QList< QString > MTGetCreateCustomerHints::getstates | ( | ) | const |
References MTGetCreateCustomerHints_Private::out_states.
Referenced by MNewCustomerWizard::MNewCustomerWizard().
QList< QString > MTGetCreateCustomerHints::gettitles | ( | ) | const |
References MTGetCreateCustomerHints_Private::out_titles.
Referenced by MNewCustomerWizard::MNewCustomerWizard().
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().
|
static |
emits the query over the network and returns the finished transaction object
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetCreateCustomerHints().
|
friend |
Referenced by MTGetCreateCustomerHints().