MagicSmoke  $VERSION$
srcMTGetRole.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_MTGetRole
4 #define WOBGEN_MTGetRole
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 <MORole>
13 
14 class MTGetRole_Private;
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTGetRole_Private;
23  protected:
27  explicit MTGetRole(const QString &arole,QString iface);
28  public:
30  MTGetRole();
32  MTGetRole(const MTGetRole&);
34  MTGetRole& operator=(const MTGetRole&);
36  virtual ~MTGetRole();
37  private:
38  void netquery();
39  void asyncnetquery();
40  QByteArray encodeData();
41  void decodeData(QByteArray);
42  protected:
43  virtual void endQuery();
44  public:
48  static MTGetRole query(const QString &arole,QString iface="MagicSmoke");
52  static MTGetRole asyncQuery(const QString &arole,QString iface="MagicSmoke");
54  Q_SLOT Nullable<MORole> getrole()const;
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
friend class MTGetRole
Definition: srcMTGetRole.cpp:15
Definition: srcMTGetRole.cpp:12
Returns a specific role by name.
Definition: srcMTGetRole.h:17
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetRole.h:8
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)