MagicSmoke
$VERSION$
|
Gets a document associated with an order. More...
#include <srcMTGetOrderDocument.h>
Public Member Functions | |
MTGetOrderDocument () | |
default constructor: generates an invalid transaction More... | |
MTGetOrderDocument (const MTGetOrderDocument &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetOrderDocument () |
deletes this instance More... | |
Q_SLOT Nullable< MOOrderDocument > | getdocument () const |
MTGetOrderDocument & | operator= (const MTGetOrderDocument &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetOrderDocument | asyncQuery (const qint64 &aorderid, const QString &afilename, 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 MTGetOrderDocument | query (const qint64 &aorderid, const QString &afilename, 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 | |
MTGetOrderDocument (const qint64 &aorderid, const QString &afilename, 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 | MTGetOrderDocument_Private |
Gets a document associated with an order.
|
explicitprotected |
generates an instance from its properties
aorderid | |
afilename | |
iface | ID of the interface that the transaction will be sent on |
References MTGetOrderDocument_Private::in_filename, MTGetOrderDocument_Private::in_orderid, and MTGetOrderDocument_Private.
MTGetOrderDocument::MTGetOrderDocument | ( | ) |
default constructor: generates an invalid transaction
References MTGetOrderDocument_Private.
MTGetOrderDocument::MTGetOrderDocument | ( | const MTGetOrderDocument & | t | ) |
copy constructor: the two copies share their state
References MTGetOrderDocument_Private::attach().
|
virtual |
deletes this instance
References MTGetOrderDocument_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aorderid | |
afilename | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOOrderDocument > MTGetOrderDocument::getdocument | ( | ) | const |
References MTGetOrderDocument_Private::out_document.
MTGetOrderDocument & MTGetOrderDocument::operator= | ( | const MTGetOrderDocument & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetOrderDocument_Private::attach(), and MTGetOrderDocument_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aorderid | |
afilename | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetOrderDocument().
|
friend |
Referenced by MTGetOrderDocument().