MagicSmoke  $VERSION$
srcMTWebCartAddVoucher.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_MTWebCartAddVoucher
4 #define WOBGEN_MTWebCartAddVoucher
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 
14 
17 {
18  Q_OBJECT
19  private:
22  protected:
27  explicit MTWebCartAddVoucher(const QString &acartid,const qint64 &aprice,QString iface);
28  public:
34  MTWebCartAddVoucher& operator=(const MTWebCartAddVoucher&);
36  virtual ~MTWebCartAddVoucher();
37  private:
38  void netquery();
39  void asyncnetquery();
40  QByteArray encodeData();
41  void decodeData(QByteArray);
42  protected:
43  virtual void endQuery();
44  public:
49  static MTWebCartAddVoucher query(const QString &acartid,const qint64 &aprice,QString iface="MagicSmoke");
54  static MTWebCartAddVoucher asyncQuery(const QString &acartid,const qint64 &aprice,QString iface="MagicSmoke");
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
Called from the Web UI only: adds vouchers.
Definition: srcMTWebCartAddVoucher.h:16
friend class MTWebCartAddVoucher
Definition: srcMTWebCartAddVoucher.cpp:15
Definition: transaction.h:25
Definition: srcMTWebCartAddVoucher.cpp:12
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTWebCartAddVoucher.h:8