MagicSmoke  $VERSION$
srcMTChangeEvent.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_MTChangeEvent
4 #define WOBGEN_MTChangeEvent
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 #include <MOEvent>
14 
16 
19 {
20  Q_OBJECT
21  private:
23  friend class MTChangeEvent_Private;
24  protected:
28  explicit MTChangeEvent(const MOEvent &aevent,QString iface);
29  public:
31  MTChangeEvent();
35  MTChangeEvent& operator=(const MTChangeEvent&);
37  virtual ~MTChangeEvent();
38  private:
39  void netquery();
40  void asyncnetquery();
41  QByteArray encodeData();
42  void decodeData(QByteArray);
43  protected:
44  virtual void endQuery();
45  public:
49  static MTChangeEvent query(const MOEvent &aevent,QString iface="MagicSmoke");
53  static MTChangeEvent asyncQuery(const MOEvent &aevent,QString iface="MagicSmoke");
55  Q_SLOT Nullable<MOEvent> getevent()const;
56 };
57 
59 
60 //END OF AUTOMATICALLY GENERATED FILE
61 #endif
encapsulation of an event, this class wraps the auto-generated event class to provide some convenienc...
Definition: event.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTChangeEvent.h:8
Definition: srcMTChangeEvent.cpp:12
Definition: transaction.h:25
friend class MTChangeEvent
Definition: srcMTChangeEvent.cpp:15
change event data (like date/time, artist, room, ...)
Definition: srcMTChangeEvent.h:18
Q_DECLARE_METATYPE(QDomNode)