MagicSmoke
$VERSION$
|
retrieves the order in which a specific ticket or voucher was bought More...
#include <srcMTGetOrderByBarcode.h>
Public Member Functions | |
MTGetOrderByBarcode () | |
default constructor: generates an invalid transaction More... | |
MTGetOrderByBarcode (const MTGetOrderByBarcode &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetOrderByBarcode () |
deletes this instance More... | |
Q_SLOT Nullable< MOOrder > | getorder () const |
MTGetOrderByBarcode & | operator= (const MTGetOrderByBarcode &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetOrderByBarcode | asyncQuery (const QString &abarcode, 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 MTGetOrderByBarcode | query (const QString &abarcode, 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 | |
MTGetOrderByBarcode (const QString &abarcode, 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 | MTGetOrderByBarcode_Private |
retrieves the order in which a specific ticket or voucher was bought
|
explicitprotected |
generates an instance from its properties
abarcode | |
iface | ID of the interface that the transaction will be sent on |
References MTGetOrderByBarcode_Private::in_barcode, and MTGetOrderByBarcode_Private.
MTGetOrderByBarcode::MTGetOrderByBarcode | ( | ) |
default constructor: generates an invalid transaction
References MTGetOrderByBarcode_Private.
MTGetOrderByBarcode::MTGetOrderByBarcode | ( | const MTGetOrderByBarcode & | t | ) |
copy constructor: the two copies share their state
References MTGetOrderByBarcode_Private::attach().
|
virtual |
deletes this instance
References MTGetOrderByBarcode_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
abarcode | |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
Nullable< MOOrder > MTGetOrderByBarcode::getorder | ( | ) | const |
References MTGetOrderByBarcode_Private::out_order.
MTGetOrderByBarcode & MTGetOrderByBarcode::operator= | ( | const MTGetOrderByBarcode & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetOrderByBarcode_Private::attach(), and MTGetOrderByBarcode_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
abarcode | |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetOrderByBarcode().
|
friend |
Referenced by MTGetOrderByBarcode().