MagicSmoke  $VERSION$
srcMTCreateRoom.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_MTCreateRoom
4 #define WOBGEN_MTCreateRoom
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 MTCreateRoom_Private;
23  protected:
29  explicit MTCreateRoom(const QString &aroomid,const qint64 &acapacity,const QString &adescription,QString iface);
30  public:
32  MTCreateRoom();
34  MTCreateRoom(const MTCreateRoom&);
36  MTCreateRoom& operator=(const MTCreateRoom&);
38  virtual ~MTCreateRoom();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
52  static MTCreateRoom query(const QString &aroomid,const qint64 &acapacity,const QString &adescription,QString iface="MagicSmoke");
58  static MTCreateRoom asyncQuery(const QString &aroomid,const qint64 &acapacity,const QString &adescription,QString iface="MagicSmoke");
60  Q_SLOT Nullable<MORoom> getroom()const;
61 };
62 
64 
65 //END OF AUTOMATICALLY GENERATED FILE
66 #endif
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateRoom.h:8
Definition: srcMTCreateRoom.cpp:12
creates a new room
Definition: srcMTCreateRoom.h:17
Definition: transaction.h:25
friend class MTCreateRoom
Definition: srcMTCreateRoom.cpp:15
Q_DECLARE_METATYPE(QDomNode)