3 #ifndef WOBGEN_MOShipping
4 #define WOBGEN_MOShipping
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<qint64> shipid READ shipid WRITE setshipid)
21 Q_PROPERTY(Nullable<qint64> cost READ cost WRITE setcost)
23 Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
25 Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
27 Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
36 virtual Nullable<qint64>
shipid()
const{
return mp_shipid;}
38 virtual Nullable<qint64>
cost()
const{
return mp_cost;}
40 virtual Nullable<QString>
flags()
const{
return mp_flags;}
42 virtual Nullable<bool>
canuse()
const{
return mp_canuse;}
44 virtual Nullable<QString>
description()
const{
return mp_description;}
46 virtual void setshipid(Nullable<qint64> s){mp_shipid=s;}
48 virtual void setcost(Nullable<qint64> s){mp_cost=s;}
50 virtual void setflags(Nullable<QString> s){mp_flags=s;}
52 virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
61 QDomElement toXml(QDomDocument&doc,QString name=
"Shipping");
63 void toXml(QDomDocument&,QDomElement&);
virtual Nullable< QString > flags() const
Definition: srcMOShipping.h:40
Nullable< bool > mp_canuse
Definition: srcMOShipping.h:32
Nullable< qint64 > mp_cost
Definition: srcMOShipping.h:30
virtual Nullable< bool > canuse() const
Definition: srcMOShipping.h:42
virtual void setflags(Nullable< QString > s)
Definition: srcMOShipping.h:50
virtual ~MOShipping()
destructor: deletes this copy of the object
Definition: srcMOShipping.h:78
virtual void setcost(Nullable< qint64 > s)
Definition: srcMOShipping.h:48
Nullable< qint64 > mp_shipid
Definition: srcMOShipping.h:29
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOShipping.h:8
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOShipping.h:52
virtual Nullable< qint64 > cost() const
Definition: srcMOShipping.h:38
virtual Nullable< QString > description() const
Definition: srcMOShipping.h:44
Nullable< QString > mp_description
Definition: srcMOShipping.h:33
virtual void setshipid(Nullable< qint64 > s)
Definition: srcMOShipping.h:46
MOShipping()
default constructor: constructs an invalid instance of MOShipping
Definition: srcMOShipping.h:66
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< qint64 > shipid() const
Definition: srcMOShipping.h:36
Nullable< QString > mp_flags
Definition: srcMOShipping.h:31
virtual void setdescription(Nullable< QString > s)
Definition: srcMOShipping.h:54
This class encapsulates shipping types.
Definition: srcMOShipping.h:15