MagicSmoke  $VERSION$
srcMTEmptyVoucher.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_MTEmptyVoucher
4 #define WOBGEN_MTEmptyVoucher
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 <MOVoucher>
13 
15 
19 {
20  Q_OBJECT
21  private:
23  friend class MTEmptyVoucher_Private;
24  protected:
29  explicit MTEmptyVoucher(const QString &avoucherid,const QString &acomment,QString iface);
30  public:
36  MTEmptyVoucher& operator=(const MTEmptyVoucher&);
38  virtual ~MTEmptyVoucher();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
51  static MTEmptyVoucher query(const QString &avoucherid,const QString &acomment,QString iface="MagicSmoke");
56  static MTEmptyVoucher asyncQuery(const QString &avoucherid,const QString &acomment,QString iface="MagicSmoke");
58  Q_SLOT Nullable<MOVoucher> getvoucher()const;
59 };
60 
62 
63 //END OF AUTOMATICALLY GENERATED FILE
64 #endif
friend class MTEmptyVoucher
Definition: srcMTEmptyVoucher.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTEmptyVoucher.h:8
Definition: srcMTEmptyVoucher.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Empties a voucher, makes it invalid for any further use, but also keeps the price tag...
Definition: srcMTEmptyVoucher.h:18