MagicSmoke  $VERSION$
srcMTGetAllHostNames.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_MTGetAllHostNames
4 #define WOBGEN_MTGetAllHostNames
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 MTGetAllHostNames(QString iface);
26  public:
32  MTGetAllHostNames& operator=(const MTGetAllHostNames&);
34  virtual ~MTGetAllHostNames();
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 MTGetAllHostNames query(QString iface="MagicSmoke");
48  static MTGetAllHostNames asyncQuery(QString iface="MagicSmoke");
50  Q_SLOT QList<QString> gethostnames()const;
51 };
52 
54 
55 //END OF AUTOMATICALLY GENERATED FILE
56 #endif
returns a list of all (log in/client) host names that are known to the server
Definition: srcMTGetAllHostNames.h:16
Definition: srcMTGetAllHostNames.cpp:12
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetAllHostNames.h:8
Definition: transaction.h:25
friend class MTGetAllHostNames
Definition: srcMTGetAllHostNames.cpp:15
Q_DECLARE_METATYPE(QDomNode)