MagicSmoke  $VERSION$
srcMTGetAllRooms.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_MTGetAllRooms
4 #define WOBGEN_MTGetAllRooms
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 #include <MORoom>
13 
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTGetAllRooms_Private;
23  protected:
26  explicit MTGetAllRooms(QString iface);
27  public:
29  MTGetAllRooms();
33  MTGetAllRooms& operator=(const MTGetAllRooms&);
35  virtual ~MTGetAllRooms();
36  private:
37  void netquery();
38  void asyncnetquery();
39  QByteArray encodeData();
40  void decodeData(QByteArray);
41  protected:
42  virtual void endQuery();
43  public:
46  static MTGetAllRooms query(QString iface="MagicSmoke");
49  static MTGetAllRooms asyncQuery(QString iface="MagicSmoke");
51  Q_SLOT QList<MORoom> getrooms()const;
52 };
53 
55 
56 //END OF AUTOMATICALLY GENERATED FILE
57 #endif
returns a list of all existing rooms
Definition: srcMTGetAllRooms.h:17
friend class MTGetAllRooms
Definition: srcMTGetAllRooms.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetAllRooms.h:8
Definition: srcMTGetAllRooms.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)