MagicSmoke  $VERSION$
srcMTGetCoupon.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_MTGetCoupon
4 #define WOBGEN_MTGetCoupon
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 <MOCoupon>
13 
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTGetCoupon_Private;
23  protected:
27  explicit MTGetCoupon(const QString &acouponid,QString iface);
28  public:
30  MTGetCoupon();
32  MTGetCoupon(const MTGetCoupon&);
34  MTGetCoupon& operator=(const MTGetCoupon&);
36  virtual ~MTGetCoupon();
37  private:
38  void netquery();
39  void asyncnetquery();
40  QByteArray encodeData();
41  void decodeData(QByteArray);
42  protected:
43  virtual void endQuery();
44  public:
48  static MTGetCoupon query(const QString &acouponid,QString iface="MagicSmoke");
52  static MTGetCoupon asyncQuery(const QString &acouponid,QString iface="MagicSmoke");
54  Q_SLOT Nullable<MOCoupon> getcoupon()const;
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetCoupon.h:8
Definition: srcMTGetCoupon.cpp:12
Definition: transaction.h:25
friend class MTGetCoupon
Definition: srcMTGetCoupon.cpp:15
Q_DECLARE_METATYPE(QDomNode)
Retrieves details about a single coupon.
Definition: srcMTGetCoupon.h:17