3 #ifndef WOBGEN_MOTemplateInfo
4 #define WOBGEN_MOTemplateInfo
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
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)
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;}
44 virtual void sethash(Nullable<QString> s){mp_hash=s;}
46 virtual void setflags(Nullable<QString> s){mp_flags=s;}
53 QDomElement toXml(QDomDocument&doc,QString name=
"TemplateInfo");
55 void toXml(QDomDocument&,QDomElement&);
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