MagicSmoke  $VERSION$
srcMTCreateRole.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_MTCreateRole
4 #define WOBGEN_MTCreateRole
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 
14 
17 {
18  Q_OBJECT
19  private:
21  friend class MTCreateRole_Private;
22  protected:
26  explicit MTCreateRole(const QString &arole,QString iface);
27  public:
29  MTCreateRole();
31  MTCreateRole(const MTCreateRole&);
33  MTCreateRole& operator=(const MTCreateRole&);
35  virtual ~MTCreateRole();
36  private:
37  void netquery();
38  void asyncnetquery();
39  QByteArray encodeData();
40  void decodeData(QByteArray);
41  protected:
42  virtual void endQuery();
43  public:
47  static MTCreateRole query(const QString &arole,QString iface="MagicSmoke");
51  static MTCreateRole asyncQuery(const QString &arole,QString iface="MagicSmoke");
52 };
53 
55 
56 //END OF AUTOMATICALLY GENERATED FILE
57 #endif
friend class MTCreateRole
Definition: srcMTCreateRole.cpp:15
Definition: srcMTCreateRole.cpp:12
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateRole.h:8
Creates a new role.
Definition: srcMTCreateRole.h:16
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)