MagicSmoke  $VERSION$
srcMTGetMyRoles.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_MTGetMyRoles
4 #define WOBGEN_MTGetMyRoles
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 MTGetMyRoles_Private;
22  protected:
25  explicit MTGetMyRoles(QString iface);
26  public:
28  MTGetMyRoles();
30  MTGetMyRoles(const MTGetMyRoles&);
32  MTGetMyRoles& operator=(const MTGetMyRoles&);
34  virtual ~MTGetMyRoles();
35  private:
36  void netquery();
37  void asyncnetquery();
38  QByteArray encodeData();
39  void decodeData(QByteArray);
40  protected:
41  virtual void endQuery();
42  public:
45  static MTGetMyRoles query(QString iface="MagicSmoke");
48  static MTGetMyRoles asyncQuery(QString iface="MagicSmoke");
50  Q_SLOT QList<QString> getrole()const;
51 };
52 
54 
55 //END OF AUTOMATICALLY GENERATED FILE
56 #endif
Returns the roles of the user of the current session.
Definition: srcMTGetMyRoles.h:16
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetMyRoles.h:8
Definition: transaction.h:25
friend class MTGetMyRoles
Definition: srcMTGetMyRoles.cpp:15
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTGetMyRoles.cpp:12