MagicSmoke  $VERSION$
srcMTGetOrdersByCoupon.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_MTGetOrdersByCoupon
4 #define WOBGEN_MTGetOrdersByCoupon
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 
18 {
19  Q_OBJECT
20  private:
23  protected:
28  explicit MTGetOrdersByCoupon(const qint64 &aoldest,const QString &acouponid,QString iface);
29  public:
35  MTGetOrdersByCoupon& operator=(const MTGetOrdersByCoupon&);
37  virtual ~MTGetOrdersByCoupon();
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 MTGetOrdersByCoupon query(const qint64 &aoldest,const QString &acouponid,QString iface="MagicSmoke");
55  static MTGetOrdersByCoupon asyncQuery(const qint64 &aoldest,const QString &acouponid,QString iface="MagicSmoke");
57  Q_SLOT QList<MOOrderInfo> getorders()const;
59  Q_SLOT QList<MOCustomerInfo> getcustomers()const;
60 };
61 
63 
64 //END OF AUTOMATICALLY GENERATED FILE
65 #endif
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrdersByCoupon.h:8
Definition: srcMTGetOrdersByCoupon.h:17
Definition: srcMTGetOrdersByCoupon.cpp:12
friend class MTGetOrdersByCoupon
Definition: srcMTGetOrdersByCoupon.cpp:15
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)