7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<QString> flag READ flag WRITE setflag)
21 Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
27 virtual Nullable<QString>
flag()
const{
return mp_flag;}
29 virtual Nullable<QString>
description()
const{
return mp_description;}
31 virtual void setflag(Nullable<QString> s){mp_flag=s;}
40 QDomElement toXml(QDomDocument&doc,QString name=
"Flag");
42 void toXml(QDomDocument&,QDomElement&);
51 explicit MOFlag(
const QDomElement&);
53 static MOFlag fromXml(
const QDomElement&);
55 static MOFlag fromString(
const QString&);
virtual Nullable< QString > description() const
Definition: srcMOFlag.h:29
virtual void setdescription(Nullable< QString > s)
Definition: srcMOFlag.h:33
Nullable< QString > mp_flag
Definition: srcMOFlag.h:23
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOFlag.h:8
virtual ~MOFlag()
destructor: deletes this copy of the object
Definition: srcMOFlag.h:57
virtual Nullable< QString > flag() const
Definition: srcMOFlag.h:27
virtual void setflag(Nullable< QString > s)
Definition: srcMOFlag.h:31
Nullable< QString > mp_description
Definition: srcMOFlag.h:24
MOFlag()
default constructor: constructs an invalid instance of MOFlag
Definition: srcMOFlag.h:45
Q_DECLARE_METATYPE(QDomNode)
Transport class for flags and their descriptions. They are actually stored in the config table...
Definition: srcMOFlag.h:15