MagicSmoke  $VERSION$
srcMTGetVoucherAudit.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_MTGetVoucherAudit
4 #define WOBGEN_MTGetVoucherAudit
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 <MOVoucherAudit>
13 
15 
18 {
19  Q_OBJECT
20  private:
23  protected:
27  explicit MTGetVoucherAudit(const QString &avoucherid,QString iface);
28  public:
34  MTGetVoucherAudit& operator=(const MTGetVoucherAudit&);
36  virtual ~MTGetVoucherAudit();
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 MTGetVoucherAudit query(const QString &avoucherid,QString iface="MagicSmoke");
52  static MTGetVoucherAudit asyncQuery(const QString &avoucherid,QString iface="MagicSmoke");
54  Q_SLOT QList<MOVoucherAudit> getvoucher()const;
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
friend class MTGetVoucherAudit
Definition: srcMTGetVoucherAudit.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetVoucherAudit.h:8
Definition: srcMTGetVoucherAudit.cpp:12
Definition: transaction.h:25
returns all audit data for a voucher (when it was bought, when it was used and for what) ...
Definition: srcMTGetVoucherAudit.h:17
Q_DECLARE_METATYPE(QDomNode)