MagicSmoke
$VERSION$
|
changes a price category globally More...
#include <srcMTChangePriceCategory.h>
Public Member Functions | |
MTChangePriceCategory () | |
default constructor: generates an invalid transaction More... | |
MTChangePriceCategory (const MTChangePriceCategory &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTChangePriceCategory () |
deletes this instance More... | |
Q_SLOT Nullable< MOPriceCategory > | getpricecategory () const |
properties as actually stored More... | |
MTChangePriceCategory & | operator= (const MTChangePriceCategory &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTChangePriceCategory | 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 MTChangePriceCategory | 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 | |
MTChangePriceCategory (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 | MTChangePriceCategory_Private |
changes a price category globally
|
explicitprotected |
generates an instance from its properties
apricecategory | properties of the category |
iface | ID of the interface that the transaction will be sent on |
References MTChangePriceCategory_Private::in_pricecategory, and MTChangePriceCategory_Private.
MTChangePriceCategory::MTChangePriceCategory | ( | ) |
default constructor: generates an invalid transaction
References MTChangePriceCategory_Private.
MTChangePriceCategory::MTChangePriceCategory | ( | const MTChangePriceCategory & | t | ) |
copy constructor: the two copies share their state
References MTChangePriceCategory_Private::attach().
|
virtual |
deletes this instance
References MTChangePriceCategory_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 of the category |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOPriceCategory > MTChangePriceCategory::getpricecategory | ( | ) | const |
properties as actually stored
References MTChangePriceCategory_Private::out_pricecategory.
MTChangePriceCategory & MTChangePriceCategory::operator= | ( | const MTChangePriceCategory & | t | ) |
copy assignment: the copy shares the state of the original object
References MTChangePriceCategory_Private::attach(), and MTChangePriceCategory_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
apricecategory | properties of the category |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryChangePriceCategory().
|
friend |
Referenced by MTChangePriceCategory().