MagicSmoke  $VERSION$
srcMTGetOrderByBarcode.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_MTGetOrderByBarcode
4 #define WOBGEN_MTGetOrderByBarcode
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:
27  explicit MTGetOrderByBarcode(const QString &abarcode,QString iface);
28  public:
34  MTGetOrderByBarcode& operator=(const MTGetOrderByBarcode&);
36  virtual ~MTGetOrderByBarcode();
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 MTGetOrderByBarcode query(const QString &abarcode,QString iface="MagicSmoke");
52  static MTGetOrderByBarcode asyncQuery(const QString &abarcode,QString iface="MagicSmoke");
54  Q_SLOT Nullable<MOOrder> getorder()const;
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
Definition: srcMTGetOrderByBarcode.cpp:12
retrieves the order in which a specific ticket or voucher was bought
Definition: srcMTGetOrderByBarcode.h:17
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrderByBarcode.h:8
Q_DECLARE_METATYPE(QDomNode)
friend class MTGetOrderByBarcode
Definition: srcMTGetOrderByBarcode.cpp:15