MagicSmoke  $VERSION$
srcMTOrderPay.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_MTOrderPay
4 #define WOBGEN_MTOrderPay
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 <MOOrder>
13 
14 class MTOrderPay_Private;
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTOrderPay_Private;
23  protected:
30  explicit MTOrderPay(const qint64 &aorderid,const qint64 &aamount,const QString &apaytype,const QString &apaydata,QString iface);
31  public:
33  MTOrderPay();
35  MTOrderPay(const MTOrderPay&);
37  MTOrderPay& operator=(const MTOrderPay&);
39  virtual ~MTOrderPay();
40  private:
41  void netquery();
42  void asyncnetquery();
43  QByteArray encodeData();
44  void decodeData(QByteArray);
45  protected:
46  virtual void endQuery();
47  public:
54  static MTOrderPay query(const qint64 &aorderid,const qint64 &aamount,const QString &apaytype,const QString &apaydata,QString iface="MagicSmoke");
61  static MTOrderPay asyncQuery(const qint64 &aorderid,const qint64 &aamount,const QString &apaytype,const QString &apaydata,QString iface="MagicSmoke");
63  Q_SLOT Nullable<MOOrder> getorder()const;
65  Q_SLOT Nullable<qint64> getamount()const;
66 };
67 
69 
70 //END OF AUTOMATICALLY GENERATED FILE
71 #endif
friend class MTOrderPay
Definition: srcMTOrderPay.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTOrderPay.h:8
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTOrderPay.cpp:12
pay for an order with money/credit card/...; see UseVoucher for using a voucher to pay ...
Definition: srcMTOrderPay.h:17