3 #ifndef WOBGEN_MOKeyValuePairAbstract
4 #define WOBGEN_MOKeyValuePairAbstract
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
18 Q_PROPERTY(Nullable<QString> key READ key WRITE setkey)
20 Q_PROPERTY(Nullable<QString> value READ value WRITE setvalue)
22 Q_PROPERTY(Nullable<bool> isnull READ isnull WRITE setisnull)
29 virtual Nullable<QString>
key()
const{
return mp_key;}
31 virtual Nullable<QString>
value()
const{
return mp_value;}
33 virtual Nullable<bool>
isnull()
const{
return mp_isnull;}
35 virtual void setkey(Nullable<QString> s){mp_key=s;}
37 virtual void setvalue(Nullable<QString> s){mp_value=s;}
39 virtual void setisnull(Nullable<bool> s){mp_isnull=s;}
46 QDomElement toXml(QDomDocument&doc,QString name=
"KeyValuePair");
48 void toXml(QDomDocument&,QDomElement&);
virtual Nullable< QString > value() const
Definition: srcMOKeyValuePairAbstract.h:31
virtual Nullable< bool > isnull() const
Definition: srcMOKeyValuePairAbstract.h:33
virtual void setkey(Nullable< QString > s)
Definition: srcMOKeyValuePairAbstract.h:35
MOKeyValuePairAbstract()
default constructor: constructs an invalid instance of MOKeyValuePairAbstract
Definition: srcMOKeyValuePairAbstract.h:51
virtual void setvalue(Nullable< QString > s)
Definition: srcMOKeyValuePairAbstract.h:37
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOKeyValuePairAbstract.h:8
virtual ~MOKeyValuePairAbstract()
destructor: deletes this copy of the object
Definition: srcMOKeyValuePairAbstract.h:63
Nullable< QString > mp_key
Definition: srcMOKeyValuePairAbstract.h:24
Definition: srcMOKeyValuePairAbstract.h:14
virtual void setisnull(Nullable< bool > s)
Definition: srcMOKeyValuePairAbstract.h:39
virtual Nullable< QString > key() const
Definition: srcMOKeyValuePairAbstract.h:29
Q_DECLARE_METATYPE(QDomNode)
Nullable< bool > mp_isnull
Definition: srcMOKeyValuePairAbstract.h:26
Nullable< QString > mp_value
Definition: srcMOKeyValuePairAbstract.h:25