MagicSmoke  $VERSION$
srcMTGetEventSummary.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_MTGetEventSummary
4 #define WOBGEN_MTGetEventSummary
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 <MOOrder>
14 
16 
19 {
20  Q_OBJECT
21  private:
24  protected:
28  explicit MTGetEventSummary(const qint64 &aeventid,QString iface);
29  public:
35  MTGetEventSummary& operator=(const MTGetEventSummary&);
37  virtual ~MTGetEventSummary();
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 MTGetEventSummary query(const qint64 &aeventid,QString iface="MagicSmoke");
53  static MTGetEventSummary asyncQuery(const qint64 &aeventid,QString iface="MagicSmoke");
55  Q_SLOT Nullable<MOEvent> getevent()const;
57  Q_SLOT QList<MOOrder> getorders()const;
58 };
59 
61 
62 //END OF AUTOMATICALLY GENERATED FILE
63 #endif
Returns the event plus all orders concerning it.
Definition: srcMTGetEventSummary.h:18
Definition: transaction.h:25
Definition: srcMTGetEventSummary.cpp:12
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetEventSummary.h:8
friend class MTGetEventSummary
Definition: srcMTGetEventSummary.cpp:15