MagicSmoke  $VERSION$
srcMTGetUserHosts.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_MTGetUserHosts
4 #define WOBGEN_MTGetUserHosts
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 MTGetUserHosts_Private;
22  protected:
26  explicit MTGetUserHosts(const QString &ausername,QString iface);
27  public:
33  MTGetUserHosts& operator=(const MTGetUserHosts&);
35  virtual ~MTGetUserHosts();
36  private:
37  void netquery();
38  void asyncnetquery();
39  QByteArray encodeData();
40  void decodeData(QByteArray);
41  protected:
42  virtual void endQuery();
43  public:
47  static MTGetUserHosts query(const QString &ausername,QString iface="MagicSmoke");
51  static MTGetUserHosts asyncQuery(const QString &ausername,QString iface="MagicSmoke");
53  Q_SLOT QList<QString> gethosts()const;
54 };
55 
57 
58 //END OF AUTOMATICALLY GENERATED FILE
59 #endif
friend class MTGetUserHosts
Definition: srcMTGetUserHosts.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetUserHosts.h:8
Returns all hosts a user may log in from.
Definition: srcMTGetUserHosts.h:16
Definition: transaction.h:25
Definition: srcMTGetUserHosts.cpp:12
Q_DECLARE_METATYPE(QDomNode)