3 #ifndef WOBGEN_MOCountry
4 #define WOBGEN_MOCountry
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
18 Q_PROPERTY(Nullable<QString>
id READ
id WRITE setid)
20 Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
26 virtual Nullable<QString>
id()
const{
return mp_id;}
28 virtual Nullable<QString>
name()
const{
return mp_name;}
30 virtual void setid(Nullable<QString> s){mp_id=s;}
32 virtual void setname(Nullable<QString> s){mp_name=s;}
39 QDomElement toXml(QDomDocument&doc,QString name=
"Country");
41 void toXml(QDomDocument&,QDomElement&);
52 static MOCountry fromXml(
const QDomElement&);
54 static MOCountry fromString(
const QString&);
Nullable< QString > mp_name
Definition: srcMOCountry.h:23
Nullable< QString > mp_id
Definition: srcMOCountry.h:22
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOCountry.h:8
virtual Nullable< QString > id() const
Definition: srcMOCountry.h:26
virtual Nullable< QString > name() const
Definition: srcMOCountry.h:28
MOCountry()
default constructor: constructs an invalid instance of MOCountry
Definition: srcMOCountry.h:44
virtual void setid(Nullable< QString > s)
Definition: srcMOCountry.h:30
virtual void setname(Nullable< QString > s)
Definition: srcMOCountry.h:32
Q_DECLARE_METATYPE(QDomNode)
virtual ~MOCountry()
destructor: deletes this copy of the object
Definition: srcMOCountry.h:56
Definition: srcMOCountry.h:14