MagicSmoke  $VERSION$
srcMTChangeCoupon.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_MTChangeCoupon
4 #define WOBGEN_MTChangeCoupon
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 MTChangeCoupon_Private;
23  protected:
27  explicit MTChangeCoupon(const MOCoupon &acoupon,QString iface);
28  public:
34  MTChangeCoupon& operator=(const MTChangeCoupon&);
36  virtual ~MTChangeCoupon();
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 MTChangeCoupon query(const MOCoupon &acoupon,QString iface="MagicSmoke");
52  static MTChangeCoupon asyncQuery(const MOCoupon &acoupon,QString iface="MagicSmoke");
53 };
54 
56 
57 //END OF AUTOMATICALLY GENERATED FILE
58 #endif
This class represents a coupon.
Definition: srcMOCoupon.h:16
Definition: srcMTChangeCoupon.cpp:12
friend class MTChangeCoupon
Definition: srcMTChangeCoupon.cpp:15
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeCoupon.h:8
Changes a coupon.
Definition: srcMTChangeCoupon.h:17