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