3 #ifndef WOBGEN_MTGetOrdersByEvents
4 #define WOBGEN_MTGetOrdersByEvents
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #include "MTransaction"
12 #include <MOOrderInfo>
13 #include <MOCustomerInfo>
29 explicit MTGetOrdersByEvents(
const QList<qint64> &aevents,
const qint64 &aoldest,QString iface);
42 QByteArray encodeData();
43 void decodeData(QByteArray);
45 virtual void endQuery();
51 static MTGetOrdersByEvents query(
const QList<qint64> &aevents,
const qint64 &aoldest,QString iface=
"MagicSmoke");
56 static MTGetOrdersByEvents asyncQuery(
const QList<qint64> &aevents,
const qint64 &aoldest,QString iface=
"MagicSmoke");
58 Q_SLOT QList<MOOrderInfo> getorders()
const;
60 Q_SLOT QList<MOCustomerInfo> getcustomers()
const;
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrdersByEvents.h:8
returns all orders that match a specific list of events
Definition: srcMTGetOrdersByEvents.h:18
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTGetOrdersByEvents.cpp:12
friend class MTGetOrdersByEvents
Definition: srcMTGetOrdersByEvents.cpp:15