MagicSmoke  $VERSION$
srcMTGetMyRights.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_MTGetMyRights
4 #define WOBGEN_MTGetMyRights
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 MTGetMyRights_Private;
22  protected:
25  explicit MTGetMyRights(QString iface);
26  public:
28  MTGetMyRights();
32  MTGetMyRights& operator=(const MTGetMyRights&);
34  virtual ~MTGetMyRights();
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 MTGetMyRights query(QString iface="MagicSmoke");
48  static MTGetMyRights asyncQuery(QString iface="MagicSmoke");
50  Q_SLOT QList<QString> getright()const;
52  Q_SLOT QList<QString> getflag()const;
53 };
54 
56 
57 //END OF AUTOMATICALLY GENERATED FILE
58 #endif
Definition: srcMTGetMyRights.cpp:12
Definition: transaction.h:25
Returns the rights and flags of the user of the current session.
Definition: srcMTGetMyRights.h:16
friend class MTGetMyRights
Definition: srcMTGetMyRights.cpp:15
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetMyRights.h:8