MagicSmoke  $VERSION$
srcMTChangeTicketPrice.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_MTChangeTicketPrice
4 #define WOBGEN_MTChangeTicketPrice
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 
15 
18 {
19  Q_OBJECT
20  private:
23  protected:
28  explicit MTChangeTicketPrice(const QString &abarcode,const qint64 &aprice,QString iface);
29  public:
35  MTChangeTicketPrice& operator=(const MTChangeTicketPrice&);
37  virtual ~MTChangeTicketPrice();
38  private:
39  void netquery();
40  void asyncnetquery();
41  QByteArray encodeData();
42  void decodeData(QByteArray);
43  protected:
44  virtual void endQuery();
45  public:
50  static MTChangeTicketPrice query(const QString &abarcode,const qint64 &aprice,QString iface="MagicSmoke");
55  static MTChangeTicketPrice asyncQuery(const QString &abarcode,const qint64 &aprice,QString iface="MagicSmoke");
57  Q_SLOT Nullable<MOOrder> getorder()const;
58 };
59 
61 
62 //END OF AUTOMATICALLY GENERATED FILE
63 #endif
Definition: srcMTChangeTicketPrice.cpp:12
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeTicketPrice.h:8
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
friend class MTChangeTicketPrice
Definition: srcMTChangeTicketPrice.cpp:15
Privileged users: change the price of a ticket. Usually you would change its category.
Definition: srcMTChangeTicketPrice.h:17