MagicSmoke  $VERSION$
srcMTGetOrdersByEvents.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_MTGetOrdersByEvents
4 #define WOBGEN_MTGetOrdersByEvents
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 <MOOrderInfo>
13 #include <MOCustomerInfo>
14 
16 
19 {
20  Q_OBJECT
21  private:
24  protected:
29  explicit MTGetOrdersByEvents(const QList<qint64> &aevents,const qint64 &aoldest,QString iface);
30  public:
36  MTGetOrdersByEvents& operator=(const MTGetOrdersByEvents&);
38  virtual ~MTGetOrdersByEvents();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
51  static MTGetOrdersByEvents query(const QList<qint64> &aevents,const qint64 &aoldest,QString iface="MagicSmoke");
56  static MTGetOrdersByEvents asyncQuery(const QList<qint64> &aevents,const qint64 &aoldest,QString iface="MagicSmoke");
58  Q_SLOT QList<MOOrderInfo> getorders()const;
60  Q_SLOT QList<MOCustomerInfo> getcustomers()const;
61 };
62 
64 
65 //END OF AUTOMATICALLY GENERATED FILE
66 #endif
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrdersByEvents.h:8
returns all orders that match a specific list of events
Definition: srcMTGetOrdersByEvents.h:18
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTGetOrdersByEvents.cpp:12
friend class MTGetOrdersByEvents
Definition: srcMTGetOrdersByEvents.cpp:15