MagicSmoke  $VERSION$
srcMTCreateEvent.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_MTCreateEvent
4 #define WOBGEN_MTCreateEvent
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 MTCreateEvent_Private;
24  protected:
28  explicit MTCreateEvent(const MOEvent &aevent,QString iface);
29  public:
31  MTCreateEvent();
35  MTCreateEvent& operator=(const MTCreateEvent&);
37  virtual ~MTCreateEvent();
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 MTCreateEvent query(const MOEvent &aevent,QString iface="MagicSmoke");
53  static MTCreateEvent 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
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateEvent.h:8
encapsulation of an event, this class wraps the auto-generated event class to provide some convenienc...
Definition: event.h:25
Definition: srcMTCreateEvent.cpp:12
create a new event
Definition: srcMTCreateEvent.h:18
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
friend class MTCreateEvent
Definition: srcMTCreateEvent.cpp:15