MagicSmoke  $VERSION$
srcMTServerInfo.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_MTServerInfo
4 #define WOBGEN_MTServerInfo
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 MTServerInfo_Private;
22  protected:
25  explicit MTServerInfo(QString iface);
26  public:
28  MTServerInfo();
30  MTServerInfo(const MTServerInfo&);
32  MTServerInfo& operator=(const MTServerInfo&);
34  virtual ~MTServerInfo();
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 MTServerInfo query(QString iface="MagicSmoke");
48  static MTServerInfo asyncQuery(QString iface="MagicSmoke");
50  Q_SLOT Nullable<QString> getServerVersion()const;
52  Q_SLOT Nullable<QString> getMinimumProtocolVersion()const;
54  Q_SLOT Nullable<QString> getServerProtocolVersion()const;
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTServerInfo.h:8
returns basic info about the server - this is part of the protocol handshake
Definition: srcMTServerInfo.h:16
Definition: transaction.h:25
Definition: srcMTServerInfo.cpp:12
Q_DECLARE_METATYPE(QDomNode)
friend class MTServerInfo
Definition: srcMTServerInfo.cpp:15