MagicSmoke  $VERSION$
srcMTChangeVoucherValidity.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_MTChangeVoucherValidity
4 #define WOBGEN_MTChangeVoucherValidity
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 #include <MOOrder>
14 
16 
19 {
20  Q_OBJECT
21  private:
24  protected:
31  explicit MTChangeVoucherValidity(const QString &avoucherid,const bool &avalidforever,const qint64 &avalidtime,const QString &acomment,QString iface);
32  public:
40  virtual ~MTChangeVoucherValidity();
41  private:
42  void netquery();
43  void asyncnetquery();
44  QByteArray encodeData();
45  void decodeData(QByteArray);
46  protected:
47  virtual void endQuery();
48  public:
55  static MTChangeVoucherValidity query(const QString &avoucherid,const bool &avalidforever,const qint64 &avalidtime,const QString &acomment,QString iface="MagicSmoke");
62  static MTChangeVoucherValidity asyncQuery(const QString &avoucherid,const bool &avalidforever,const qint64 &avalidtime,const QString &acomment,QString iface="MagicSmoke");
64  Q_SLOT Nullable<MOVoucher> getvoucher()const;
66  Q_SLOT Nullable<MOOrder> getorder()const;
67 };
68 
70 
71 //END OF AUTOMATICALLY GENERATED FILE
72 #endif
Definition: srcMTChangeVoucherValidity.cpp:12
friend class MTChangeVoucherValidity
Definition: srcMTChangeVoucherValidity.cpp:15
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeVoucherValidity.h:8
Q_DECLARE_METATYPE(QDomNode)
Changes the validity date of the voucher.
Definition: srcMTChangeVoucherValidity.h:18