MagicSmoke  $VERSION$
srcMTCreateShipping.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_MTCreateShipping
4 #define WOBGEN_MTCreateShipping
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 <MOShipping>
13 #include <MOShipping>
14 
16 
19 {
20  Q_OBJECT
21  private:
24  protected:
28  explicit MTCreateShipping(const MOShipping &ashipping,QString iface);
29  public:
35  MTCreateShipping& operator=(const MTCreateShipping&);
37  virtual ~MTCreateShipping();
38  private:
39  void netquery();
40  void asyncnetquery();
41  QByteArray encodeData();
42  void decodeData(QByteArray);
43  protected:
44  virtual void endQuery();
45  public:
49  static MTCreateShipping query(const MOShipping &ashipping,QString iface="MagicSmoke");
53  static MTCreateShipping asyncQuery(const MOShipping &ashipping,QString iface="MagicSmoke");
55  Q_SLOT Nullable<MOShipping> getshipping()const;
56 };
57 
59 
60 //END OF AUTOMATICALLY GENERATED FILE
61 #endif
Definition: srcMTCreateShipping.cpp:12
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateShipping.h:8
Creates a new shipping method.
Definition: srcMTCreateShipping.h:18
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
friend class MTCreateShipping
Definition: srcMTCreateShipping.cpp:15
This class encapsulates shipping types.
Definition: srcMOShipping.h:15