MagicSmoke  $VERSION$
srcMTGetOrdersByUser.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_MTGetOrdersByUser
4 #define WOBGEN_MTGetOrdersByUser
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:
30  explicit MTGetOrdersByUser(const qint64 &aoldest,const bool &aincludeall,const QString &ausername,QString iface);
31  public:
37  MTGetOrdersByUser& operator=(const MTGetOrdersByUser&);
39  virtual ~MTGetOrdersByUser();
40  private:
41  void netquery();
42  void asyncnetquery();
43  QByteArray encodeData();
44  void decodeData(QByteArray);
45  protected:
46  virtual void endQuery();
47  public:
53  static MTGetOrdersByUser query(const qint64 &aoldest,const bool &aincludeall,const QString &ausername,QString iface="MagicSmoke");
59  static MTGetOrdersByUser asyncQuery(const qint64 &aoldest,const bool &aincludeall,const QString &ausername,QString iface="MagicSmoke");
61  Q_SLOT QList<MOOrderInfo> getorders()const;
63  Q_SLOT QList<MOCustomerInfo> getcustomers()const;
64 };
65 
67 
68 //END OF AUTOMATICALLY GENERATED FILE
69 #endif
friend class MTGetOrdersByUser
Definition: srcMTGetOrdersByUser.cpp:15
returns all orders created by the a specified user
Definition: srcMTGetOrdersByUser.h:18
Definition: srcMTGetOrdersByUser.cpp:12
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTGetOrdersByUser.h:8