MagicSmoke  $VERSION$
srcMTGetEvent.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_MTGetEvent
4 #define WOBGEN_MTGetEvent
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 <MOEvent>
13 
14 class MTGetEvent_Private;
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTGetEvent_Private;
23  protected:
27  explicit MTGetEvent(const qint64 &aeventid,QString iface);
28  public:
30  MTGetEvent();
32  MTGetEvent(const MTGetEvent&);
34  MTGetEvent& operator=(const MTGetEvent&);
36  virtual ~MTGetEvent();
37  private:
38  void netquery();
39  void asyncnetquery();
40  QByteArray encodeData();
41  void decodeData(QByteArray);
42  protected:
43  virtual void endQuery();
44  public:
48  static MTGetEvent query(const qint64 &aeventid,QString iface="MagicSmoke");
52  static MTGetEvent asyncQuery(const qint64 &aeventid,QString iface="MagicSmoke");
54  Q_SLOT Nullable<MOEvent> getevent()const;
55 };
56 
58 
59 //END OF AUTOMATICALLY GENERATED FILE
60 #endif
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTGetEvent.cpp:12
returns detailed event data
Definition: srcMTGetEvent.h:17
friend class MTGetEvent
Definition: srcMTGetEvent.cpp:15
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetEvent.h:8