MagicSmoke
$VERSION$
|
creates a new price category (generic, not yet event specific) More...
#include <srcMTCreatePriceCategory.h>
Public Member Functions | |
MTCreatePriceCategory () | |
default constructor: generates an invalid transaction More... | |
MTCreatePriceCategory (const MTCreatePriceCategory &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTCreatePriceCategory () |
deletes this instance More... | |
Q_SLOT Nullable< MOPriceCategory > | getpricecategory () const |
properties as actually stored More... | |
MTCreatePriceCategory & | operator= (const MTCreatePriceCategory &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTCreatePriceCategory | asyncQuery (const MOPriceCategory &apricecategory, 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 MTCreatePriceCategory | query (const MOPriceCategory &apricecategory, 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 | |
MTCreatePriceCategory (const MOPriceCategory &apricecategory, 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 | MTCreatePriceCategory_Private |
creates a new price category (generic, not yet event specific)
|
explicitprotected |
generates an instance from its properties
apricecategory | properties as requested by user |
iface | ID of the interface that the transaction will be sent on |
References MTCreatePriceCategory_Private::in_pricecategory, and MTCreatePriceCategory_Private.
MTCreatePriceCategory::MTCreatePriceCategory | ( | ) |
default constructor: generates an invalid transaction
References MTCreatePriceCategory_Private.
MTCreatePriceCategory::MTCreatePriceCategory | ( | const MTCreatePriceCategory & | t | ) |
copy constructor: the two copies share their state
References MTCreatePriceCategory_Private::attach().
|
virtual |
deletes this instance
References MTCreatePriceCategory_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
apricecategory | properties as requested by user |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOPriceCategory > MTCreatePriceCategory::getpricecategory | ( | ) | const |
properties as actually stored
References MTCreatePriceCategory_Private::out_pricecategory.
MTCreatePriceCategory & MTCreatePriceCategory::operator= | ( | const MTCreatePriceCategory & | t | ) |
copy assignment: the copy shares the state of the original object
References MTCreatePriceCategory_Private::attach(), and MTCreatePriceCategory_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
apricecategory | properties as requested by user |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryCreatePriceCategory().
|
friend |
Referenced by MTCreatePriceCategory().