MagicSmoke  $VERSION$
srcMTSetTemplate.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_MTSetTemplate
4 #define WOBGEN_MTSetTemplate
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 <MOTemplate>
13 
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTSetTemplate_Private;
23  protected:
29  explicit MTSetTemplate(const QString &afilename,const QByteArray &atemplatedata,const QString &adescription,QString iface);
30  public:
32  MTSetTemplate();
36  MTSetTemplate& operator=(const MTSetTemplate&);
38  virtual ~MTSetTemplate();
39  private:
40  void netquery();
41  void asyncnetquery();
42  QByteArray encodeData();
43  void decodeData(QByteArray);
44  protected:
45  virtual void endQuery();
46  public:
52  static MTSetTemplate query(const QString &afilename,const QByteArray &atemplatedata,const QString &adescription,QString iface="MagicSmoke");
58  static MTSetTemplate asyncQuery(const QString &afilename,const QByteArray &atemplatedata,const QString &adescription,QString iface="MagicSmoke");
60  Q_SLOT Nullable<MOTemplate> gettemplatefile()const;
61 };
62 
64 
65 //END OF AUTOMATICALLY GENERATED FILE
66 #endif
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTSetTemplate.h:8
friend class MTSetTemplate
Definition: srcMTSetTemplate.cpp:15
Overwrites or creates a specific template.
Definition: srcMTSetTemplate.h:17
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTSetTemplate.cpp:12