MagicSmoke  $VERSION$
srcMTGetVoucher.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_MTGetVoucher
4 #define WOBGEN_MTGetVoucher
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 
18 {
19  Q_OBJECT
20  private:
22  friend class MTGetVoucher_Private;
23  protected:
27  explicit MTGetVoucher(const QString &avoucherid,QString iface);
28  public:
30  MTGetVoucher();
32  MTGetVoucher(const MTGetVoucher&);
34  MTGetVoucher& operator=(const MTGetVoucher&);
36  virtual ~MTGetVoucher();
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 MTGetVoucher query(const QString &avoucherid,QString iface="MagicSmoke");
52  static MTGetVoucher asyncQuery(const QString &avoucherid,QString iface="MagicSmoke");
54  Q_SLOT Nullable<MOVoucher> getvoucher()const;
56  Q_SLOT Nullable<bool> getispaidfor()const;
57 };
58 
60 
61 //END OF AUTOMATICALLY GENERATED FILE
62 #endif
returns a specific voucher with detailed info
Definition: srcMTGetVoucher.h:17
friend class MTGetVoucher
Definition: srcMTGetVoucher.cpp:15
Definition: transaction.h:25
Definition: srcMTGetVoucher.cpp:12
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetVoucher.h:8