MagicSmoke
$VERSION$
|
creates a new contact type (phone, mail, ...) More...
#include <srcMTCreateContactType.h>
Public Member Functions | |
MTCreateContactType () | |
default constructor: generates an invalid transaction More... | |
MTCreateContactType (const MTCreateContactType &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTCreateContactType () |
deletes this instance More... | |
Q_SLOT Nullable< MOContactType > | getcontacttype () const |
MTCreateContactType & | operator= (const MTCreateContactType &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTCreateContactType | asyncQuery (const QString &atypename, const QString &auriprefix, 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 MTCreateContactType | query (const QString &atypename, const QString &auriprefix, 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 | |
MTCreateContactType (const QString &atypename, const QString &auriprefix, 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 | MTCreateContactType_Private |
creates a new contact type (phone, mail, ...)
|
explicitprotected |
generates an instance from its properties
atypename | |
auriprefix | |
iface | ID of the interface that the transaction will be sent on |
References MTCreateContactType_Private::in_typename, MTCreateContactType_Private::in_uriprefix, and MTCreateContactType_Private.
MTCreateContactType::MTCreateContactType | ( | ) |
default constructor: generates an invalid transaction
References MTCreateContactType_Private.
MTCreateContactType::MTCreateContactType | ( | const MTCreateContactType & | t | ) |
copy constructor: the two copies share their state
References MTCreateContactType_Private::attach().
|
virtual |
deletes this instance
References MTCreateContactType_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
atypename | |
auriprefix | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOContactType > MTCreateContactType::getcontacttype | ( | ) | const |
References MTCreateContactType_Private::out_contacttype.
Referenced by MContactTableDelegate::setModelData().
MTCreateContactType & MTCreateContactType::operator= | ( | const MTCreateContactType & | t | ) |
copy assignment: the copy shares the state of the original object
References MTCreateContactType_Private::attach(), and MTCreateContactType_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
atypename | |
auriprefix | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryCreateContactType(), and MContactTableDelegate::setModelData().
|
friend |
Referenced by MTCreateContactType().