MagicSmoke  $VERSION$
srcMTGetMyOrders.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MTGetMyOrders
4 #define WOBGEN_MTGetMyOrders
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 #include <MOOrderInfo>
13 #include <MOCustomerInfo>
14 
16 
19 {
20  Q_OBJECT
21  private:
23  friend class MTGetMyOrders_Private;
24  protected:
29  explicit MTGetMyOrders(const qint64 &aoldest,const bool &aincludeall,QString iface);
30  public:
32  MTGetMyOrders();
36  MTGetMyOrders& operator=(const MTGetMyOrders&);
38  virtual ~MTGetMyOrders();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
51  static MTGetMyOrders query(const qint64 &aoldest,const bool &aincludeall,QString iface="MagicSmoke");
56  static MTGetMyOrders asyncQuery(const qint64 &aoldest,const bool &aincludeall,QString iface="MagicSmoke");
58  Q_SLOT QList<MOOrderInfo> getorders()const;
60  Q_SLOT QList<MOCustomerInfo> getcustomers()const;
61 };
62 
64 
65 //END OF AUTOMATICALLY GENERATED FILE
66 #endif
returns all orders created by the current user
Definition: srcMTGetMyOrders.h:18
friend class MTGetMyOrders
Definition: srcMTGetMyOrders.cpp:15
Definition: srcMTGetMyOrders.cpp:12
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetMyOrders.h:8
Q_DECLARE_METATYPE(QDomNode)