MagicSmoke  $VERSION$
srcMTBackupTable.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_MTBackupTable
4 #define WOBGEN_MTBackupTable
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 
14 
17 {
18  Q_OBJECT
19  private:
21  friend class MTBackupTable_Private;
22  protected:
29  explicit MTBackupTable(const QString &atable,const qint64 &aminkey,const qint64 &amaxkey,const QList<QString> &akeylist,QString iface);
30  public:
32  MTBackupTable();
36  MTBackupTable& operator=(const MTBackupTable&);
38  virtual ~MTBackupTable();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
53  static MTBackupTable query(const QString &atable,const qint64 &aminkey,const qint64 &amaxkey,const QList<QString> &akeylist,QString iface="MagicSmoke");
60  static MTBackupTable asyncQuery(const QString &atable,const qint64 &aminkey,const qint64 &amaxkey,const QList<QString> &akeylist,QString iface="MagicSmoke");
62  Q_SLOT Nullable<QString> getbackup()const;
63 };
64 
66 
67 //END OF AUTOMATICALLY GENERATED FILE
68 #endif
Definition: srcMTBackupTable.cpp:12
This transaction is used to get data from the database during a backup.
Definition: srcMTBackupTable.h:16
friend class MTBackupTable
Definition: srcMTBackupTable.cpp:15
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTBackupTable.h:8