MagicSmoke  $VERSION$
srcMTGetAllRightNames.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_MTGetAllRightNames
4 #define WOBGEN_MTGetAllRightNames
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:
22  protected:
25  explicit MTGetAllRightNames(QString iface);
26  public:
32  MTGetAllRightNames& operator=(const MTGetAllRightNames&);
34  virtual ~MTGetAllRightNames();
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 MTGetAllRightNames query(QString iface="MagicSmoke");
48  static MTGetAllRightNames asyncQuery(QString iface="MagicSmoke");
50  Q_SLOT QList<QString> getrights()const;
51 };
52 
54 
55 //END OF AUTOMATICALLY GENERATED FILE
56 #endif
Returns a list of all rights (i.e. transactions and privileges) that currently exist at the server...
Definition: srcMTGetAllRightNames.h:16
friend class MTGetAllRightNames
Definition: srcMTGetAllRightNames.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetAllRightNames.h:8
Definition: transaction.h:25
Definition: srcMTGetAllRightNames.cpp:12
Q_DECLARE_METATYPE(QDomNode)