MagicSmoke
$VERSION$
|
get a complete list of orders starting at the time "oldest" More...
#include <srcMTGetOrderList.h>
Public Member Functions | |
MTGetOrderList () | |
default constructor: generates an invalid transaction More... | |
MTGetOrderList (const MTGetOrderList &) | |
copy constructor: the two copies share their state More... | |
virtual | ~MTGetOrderList () |
deletes this instance More... | |
Q_SLOT QList< MOCustomerInfo > | getcustomers () const |
Q_SLOT QList< MOOrderInfo > | getorders () const |
MTGetOrderList & | operator= (const MTGetOrderList &) |
copy assignment: the copy shares the state of the original object More... | |
Static Public Member Functions | |
static MTGetOrderList | asyncQuery (const qint64 &aoldest, 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 MTGetOrderList | query (const qint64 &aoldest, 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 | |
MTGetOrderList (const qint64 &aoldest, 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 | MTGetOrderList_Private |
get a complete list of orders starting at the time "oldest"
|
explicitprotected |
generates an instance from its properties
aoldest | unix timestamp for the oldest order to be returned (compared with ordertime) |
iface | ID of the interface that the transaction will be sent on |
References MTGetOrderList_Private::in_oldest, and MTGetOrderList_Private.
MTGetOrderList::MTGetOrderList | ( | ) |
default constructor: generates an invalid transaction
References MTGetOrderList_Private.
MTGetOrderList::MTGetOrderList | ( | const MTGetOrderList & | t | ) |
copy constructor: the two copies share their state
References MTGetOrderList_Private::attach().
|
virtual |
deletes this instance
References MTGetOrderList_Private::detach().
|
static |
emits the query over the network and returns the transaction object, use isFinished() to check for the transaction's state
aoldest | unix timestamp for the oldest order to be returned (compared with ordertime) |
iface | ID of the interface that the transaction will be sent on |
|
protectedvirtual |
QList< MOCustomerInfo > MTGetOrderList::getcustomers | ( | ) | const |
References MTGetOrderList_Private::out_customers.
Referenced by PrintingRun::PrintingRun().
QList< MOOrderInfo > MTGetOrderList::getorders | ( | ) | const |
References MTGetOrderList_Private::out_orders.
Referenced by PrintingRun::PrintingRun().
MTGetOrderList & MTGetOrderList::operator= | ( | const MTGetOrderList & | t | ) |
copy assignment: the copy shares the state of the original object
References MTGetOrderList_Private::attach(), and MTGetOrderList_Private::detach().
|
static |
emits the query over the network and returns the finished transaction object
aoldest | unix timestamp for the oldest order to be returned (compared with ordertime) |
iface | ID of the interface that the transaction will be sent on |
Referenced by MInterface::queryGetOrderList().
|
friend |
Referenced by MTGetOrderList().