MagicSmoke  $VERSION$
srcMTCreateCustomer.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_MTCreateCustomer
4 #define WOBGEN_MTCreateCustomer
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 <MOCustomer>
13 #include <MOCustomer>
14 
16 
19 {
20  Q_OBJECT
21  private:
24  protected:
28  explicit MTCreateCustomer(const MOCustomer &acustomer,QString iface);
29  public:
35  MTCreateCustomer& operator=(const MTCreateCustomer&);
37  virtual ~MTCreateCustomer();
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 MTCreateCustomer query(const MOCustomer &acustomer,QString iface="MagicSmoke");
53  static MTCreateCustomer asyncQuery(const MOCustomer &acustomer,QString iface="MagicSmoke");
55  Q_SLOT Nullable<MOCustomer> getcustomer()const;
56 };
57 
59 
60 //END OF AUTOMATICALLY GENERATED FILE
61 #endif
Definition: customer.h:24
Definition: srcMTCreateCustomer.cpp:12
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateCustomer.h:8
Definition: transaction.h:25
creates a new customer
Definition: srcMTCreateCustomer.h:18
Q_DECLARE_METATYPE(QDomNode)
friend class MTCreateCustomer
Definition: srcMTCreateCustomer.cpp:15