MagicSmoke  $VERSION$
srcMTGetOrdersByCustomer.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_MTGetOrdersByCustomer
4 #define WOBGEN_MTGetOrdersByCustomer
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 
15 
18 {
19  Q_OBJECT
20  private:
23  protected:
28  explicit MTGetOrdersByCustomer(const qint64 &acustomerid,const qint64 &aoldest,QString iface);
29  public:
37  virtual ~MTGetOrdersByCustomer();
38  private:
39  void netquery();
40  void asyncnetquery();
41  QByteArray encodeData();
42  void decodeData(QByteArray);
43  protected:
44  virtual void endQuery();
45  public:
50  static MTGetOrdersByCustomer query(const qint64 &acustomerid,const qint64 &aoldest,QString iface="MagicSmoke");
55  static MTGetOrdersByCustomer asyncQuery(const qint64 &acustomerid,const qint64 &aoldest,QString iface="MagicSmoke");
57  Q_SLOT QList<MOOrderInfo> getorders()const;
58 };
59 
61 
62 //END OF AUTOMATICALLY GENERATED FILE
63 #endif
returns all orders that were purchased by a specific customer
Definition: srcMTGetOrdersByCustomer.h:17
friend class MTGetOrdersByCustomer
Definition: srcMTGetOrdersByCustomer.cpp:15
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrdersByCustomer.h:8
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTGetOrdersByCustomer.cpp:12