3 #ifndef WOBGEN_MTGetOrdersByUser
4 #define WOBGEN_MTGetOrdersByUser
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #include "MTransaction"
12 #include <MOOrderInfo>
13 #include <MOCustomerInfo>
30 explicit MTGetOrdersByUser(
const qint64 &aoldest,
const bool &aincludeall,
const QString &ausername,QString iface);
43 QByteArray encodeData();
44 void decodeData(QByteArray);
46 virtual void endQuery();
53 static MTGetOrdersByUser query(
const qint64 &aoldest,
const bool &aincludeall,
const QString &ausername,QString iface=
"MagicSmoke");
59 static MTGetOrdersByUser asyncQuery(
const qint64 &aoldest,
const bool &aincludeall,
const QString &ausername,QString iface=
"MagicSmoke");
61 Q_SLOT QList<MOOrderInfo> getorders()
const;
63 Q_SLOT QList<MOCustomerInfo> getcustomers()
const;
friend class MTGetOrdersByUser
Definition: srcMTGetOrdersByUser.cpp:15
returns all orders created by the a specified user
Definition: srcMTGetOrdersByUser.h:18
Definition: srcMTGetOrdersByUser.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrdersByUser.h:8