3 #ifndef WOBGEN_MOTemplate
4 #define WOBGEN_MOTemplate
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<QByteArray> content READ content WRITE setcontent)
24 Q_PROPERTY(Nullable<QString> hash READ hash WRITE sethash)
26 Q_PROPERTY(Nullable<bool> dolog READ dolog WRITE setdolog)
28 Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
30 Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
32 Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
44 virtual Nullable<QString>
filename()
const{
return mp_filename;}
46 virtual Nullable<QString>
description()
const{
return mp_description;}
48 virtual Nullable<QByteArray>
content()
const{
return mp_content;}
50 virtual Nullable<QString>
hash()
const{
return mp_hash;}
52 virtual Nullable<bool>
dolog()
const{
return mp_dolog;}
54 virtual Nullable<QString>
flags()
const{
return mp_flags;}
56 virtual Nullable<QString>
tags()
const{
return mp_tags;}
58 virtual Nullable<bool>
canuse()
const{
return mp_canuse;}
64 virtual void setcontent(Nullable<QByteArray> s){mp_content=s;}
66 virtual void sethash(Nullable<QString> s){mp_hash=s;}
68 virtual void setdolog(Nullable<bool> s){mp_dolog=s;}
70 virtual void setflags(Nullable<QString> s){mp_flags=s;}
72 virtual void settags(Nullable<QString> s){mp_tags=s;}
74 virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
81 QDomElement toXml(QDomDocument&doc,QString name=
"Template");
83 void toXml(QDomDocument&,QDomElement&);
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOTemplate.h:74
Nullable< QString > mp_description
Definition: srcMOTemplate.h:35
virtual void setdescription(Nullable< QString > s)
Definition: srcMOTemplate.h:62
virtual Nullable< QString > flags() const
Definition: srcMOTemplate.h:54
virtual Nullable< QString > hash() const
Definition: srcMOTemplate.h:50
Nullable< QString > mp_flags
Definition: srcMOTemplate.h:39
virtual void setfilename(Nullable< QString > s)
Definition: srcMOTemplate.h:60
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOTemplate.h:8
Nullable< QByteArray > mp_content
Definition: srcMOTemplate.h:36
virtual void sethash(Nullable< QString > s)
Definition: srcMOTemplate.h:66
virtual Nullable< QString > filename() const
Definition: srcMOTemplate.h:44
virtual void setcontent(Nullable< QByteArray > s)
Definition: srcMOTemplate.h:64
virtual Nullable< QString > tags() const
Definition: srcMOTemplate.h:56
Nullable< bool > mp_dolog
Definition: srcMOTemplate.h:38
virtual Nullable< QByteArray > content() const
Definition: srcMOTemplate.h:48
virtual Nullable< QString > description() const
Definition: srcMOTemplate.h:46
virtual void settags(Nullable< QString > s)
Definition: srcMOTemplate.h:72
Nullable< QString > mp_hash
Definition: srcMOTemplate.h:37
virtual Nullable< bool > canuse() const
Definition: srcMOTemplate.h:58
Q_DECLARE_METATYPE(QDomNode)
virtual void setflags(Nullable< QString > s)
Definition: srcMOTemplate.h:70
virtual void setdolog(Nullable< bool > s)
Definition: srcMOTemplate.h:68
Nullable< bool > mp_canuse
Definition: srcMOTemplate.h:41
virtual ~MOTemplate()
destructor: deletes this copy of the object
Definition: srcMOTemplate.h:98
MOTemplate()
default constructor: constructs an invalid instance of MOTemplate
Definition: srcMOTemplate.h:86
virtual Nullable< bool > dolog() const
Definition: srcMOTemplate.h:52
Nullable< QString > mp_tags
Definition: srcMOTemplate.h:40
Definition: srcMOTemplate.h:14
Nullable< QString > mp_filename
Definition: srcMOTemplate.h:34