MagicSmoke  $VERSION$
srcMTChangeShipping.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_MTChangeShipping
4 #define WOBGEN_MTChangeShipping
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 MTChangeShipping(const MOShipping &ashipping,QString iface);
29  public:
35  MTChangeShipping& operator=(const MTChangeShipping&);
37  virtual ~MTChangeShipping();
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 MTChangeShipping query(const MOShipping &ashipping,QString iface="MagicSmoke");
53  static MTChangeShipping 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
friend class MTChangeShipping
Definition: srcMTChangeShipping.cpp:15
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeShipping.h:8
Changes a shipping method, eg. its default price. Changing the price has no effect on existing orders...
Definition: srcMTChangeShipping.h:18
This class encapsulates shipping types.
Definition: srcMOShipping.h:15
Definition: srcMTChangeShipping.cpp:12