MagicSmoke  $VERSION$
srcMTCreateReservation.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_MTCreateReservation
4 #define WOBGEN_MTCreateReservation
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 <MOCartOrder>
13 #include <MOOrder>
14 #include <MOCartOrder>
15 
17 
20 {
21  Q_OBJECT
22  private:
25  protected:
29  explicit MTCreateReservation(const MOCartOrder &acart,QString iface);
30  public:
36  MTCreateReservation& operator=(const MTCreateReservation&);
38  virtual ~MTCreateReservation();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
50  static MTCreateReservation query(const MOCartOrder &acart,QString iface="MagicSmoke");
54  static MTCreateReservation asyncQuery(const MOCartOrder &acart,QString iface="MagicSmoke");
56  Q_SLOT Nullable<MOOrder> getorder()const;
58  Q_SLOT Nullable<MOCartOrder> getcart()const;
59 };
60 
62 
63 //END OF AUTOMATICALLY GENERATED FILE
64 #endif
Definition: srcMTCreateReservation.cpp:12
Reservations are orders that are not executed right away. They may only contain tickets that block so...
Definition: srcMTCreateReservation.h:19
friend class MTCreateReservation
Definition: srcMTCreateReservation.cpp:15
The cart as used from the remote (non-web) system, this is a transaction object, it has no equivalent...
Definition: srcMOCartOrder.h:18
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateReservation.h:8
Q_DECLARE_METATYPE(QDomNode)