3 #ifndef WOBGEN_MOPriceCategory
4 #define WOBGEN_MOPriceCategory
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
18 Q_PROPERTY(Nullable<qint64> pricecategoryid READ pricecategoryid WRITE setpricecategoryid)
20 Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
22 Q_PROPERTY(Nullable<QString> abbreviation READ abbreviation WRITE setabbreviation)
24 Q_PROPERTY(Nullable<QString> formula READ formula WRITE setformula)
26 Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
28 Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
30 Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
43 virtual Nullable<QString>
name()
const{
return mp_name;}
45 virtual Nullable<QString>
abbreviation()
const{
return mp_abbreviation;}
47 virtual Nullable<QString>
formula()
const{
return mp_formula;}
49 virtual Nullable<QString>
flags()
const{
return mp_flags;}
51 virtual Nullable<QString>
tags()
const{
return mp_tags;}
53 virtual Nullable<bool>
canuse()
const{
return mp_canuse;}
57 virtual void setname(Nullable<QString> s){mp_name=s;}
61 virtual void setformula(Nullable<QString> s){mp_formula=s;}
63 virtual void setflags(Nullable<QString> s){mp_flags=s;}
65 virtual void settags(Nullable<QString> s){mp_tags=s;}
67 virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
74 QDomElement toXml(QDomDocument&doc,QString name=
"PriceCategory");
76 void toXml(QDomDocument&,QDomElement&);
virtual Nullable< QString > flags() const
Definition: srcMOPriceCategory.h:49
virtual void setname(Nullable< QString > s)
Definition: srcMOPriceCategory.h:57
virtual void setflags(Nullable< QString > s)
Definition: srcMOPriceCategory.h:63
Nullable< QString > mp_abbreviation
Definition: srcMOPriceCategory.h:34
virtual Nullable< QString > abbreviation() const
Definition: srcMOPriceCategory.h:45
virtual void settags(Nullable< QString > s)
Definition: srcMOPriceCategory.h:65
virtual Nullable< bool > canuse() const
Definition: srcMOPriceCategory.h:53
virtual void setabbreviation(Nullable< QString > s)
Definition: srcMOPriceCategory.h:59
Nullable< qint64 > mp_pricecategoryid
Definition: srcMOPriceCategory.h:32
Nullable< QString > mp_flags
Definition: srcMOPriceCategory.h:36
MOPriceCategory()
default constructor: constructs an invalid instance of MOPriceCategory
Definition: srcMOPriceCategory.h:79
virtual Nullable< qint64 > pricecategoryid() const
Definition: srcMOPriceCategory.h:41
Nullable< bool > mp_canuse
Definition: srcMOPriceCategory.h:38
virtual void setpricecategoryid(Nullable< qint64 > s)
Definition: srcMOPriceCategory.h:55
Nullable< QString > mp_tags
Definition: srcMOPriceCategory.h:37
Definition: srcMOPriceCategory.h:14
virtual Nullable< QString > name() const
Definition: srcMOPriceCategory.h:43
Nullable< QString > mp_formula
Definition: srcMOPriceCategory.h:35
virtual Nullable< QString > formula() const
Definition: srcMOPriceCategory.h:47
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOPriceCategory.h:67
Q_DECLARE_METATYPE(QDomNode)
Nullable< QString > mp_name
Definition: srcMOPriceCategory.h:33
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOPriceCategory.h:8
virtual void setformula(Nullable< QString > s)
Definition: srcMOPriceCategory.h:61
virtual ~MOPriceCategory()
destructor: deletes this copy of the object
Definition: srcMOPriceCategory.h:91
virtual Nullable< QString > tags() const
Definition: srcMOPriceCategory.h:51