MagicSmoke  $VERSION$
srcMOTemplateInfo.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_MOTemplateInfo
4 #define WOBGEN_MOTemplateInfo
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "WObject"
12 #include <QCoreApplication>
13 
15 {
16  Q_GADGET
18  Q_PROPERTY(Nullable<QString> filename READ filename WRITE setfilename)
20  Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
22  Q_PROPERTY(Nullable<QString> hash READ hash WRITE sethash)
24  Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
25  protected:
26  Nullable<QString> mp_filename;
27  Nullable<QString> mp_description;
28  Nullable<QString> mp_hash;
29  Nullable<QString> mp_flags;
30  public:
32  virtual Nullable<QString> filename()const{return mp_filename;}
34  virtual Nullable<QString> description()const{return mp_description;}
36  virtual Nullable<QString> hash()const{return mp_hash;}
38  virtual Nullable<QString> flags()const{return mp_flags;}
40  virtual void setfilename(Nullable<QString> s){mp_filename=s;}
42  virtual void setdescription(Nullable<QString> s){mp_description=s;}
44  virtual void sethash(Nullable<QString> s){mp_hash=s;}
46  virtual void setflags(Nullable<QString> s){mp_flags=s;}
47  public:
49  QString toString();
53  QDomElement toXml(QDomDocument&doc,QString name="TemplateInfo");
55  void toXml(QDomDocument&,QDomElement&);
56  public:
58  MOTemplateInfo():WObject(){}
62  MOTemplateInfo& operator=(const MOTemplateInfo&);
64  explicit MOTemplateInfo(const QDomElement&);
66  static MOTemplateInfo fromXml(const QDomElement&);
68  static MOTemplateInfo fromString(const QString&);
70  virtual ~MOTemplateInfo(){}
71 
72 };
76 
77 //END OF AUTOMATICALLY GENERATED FILE
78 #endif
Nullable< QString > mp_description
Definition: srcMOTemplateInfo.h:27
virtual Nullable< QString > flags() const
Definition: srcMOTemplateInfo.h:38
Definition: srcMOTemplateInfo.h:14
Nullable< QString > mp_filename
Definition: srcMOTemplateInfo.h:26
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOTemplateInfo.h:8
virtual void setdescription(Nullable< QString > s)
Definition: srcMOTemplateInfo.h:42
Nullable< QString > mp_hash
Definition: srcMOTemplateInfo.h:28
Nullable< QString > mp_flags
Definition: srcMOTemplateInfo.h:29
virtual void setflags(Nullable< QString > s)
Definition: srcMOTemplateInfo.h:46
virtual Nullable< QString > description() const
Definition: srcMOTemplateInfo.h:34
MOTemplateInfo()
default constructor: constructs an invalid instance of MOTemplateInfo
Definition: srcMOTemplateInfo.h:58
virtual ~MOTemplateInfo()
destructor: deletes this copy of the object
Definition: srcMOTemplateInfo.h:70
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< QString > hash() const
Definition: srcMOTemplateInfo.h:36
virtual void sethash(Nullable< QString > s)
Definition: srcMOTemplateInfo.h:44
virtual Nullable< QString > filename() const
Definition: srcMOTemplateInfo.h:32
virtual void setfilename(Nullable< QString > s)
Definition: srcMOTemplateInfo.h:40