3 #ifndef WOBGEN_MOSeatPlanVGroupAbstract
4 #define WOBGEN_MOSeatPlanVGroupAbstract
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<QString> capacity READ capacity WRITE setcapacity)
21 Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
23 Q_PROPERTY(Nullable<QString> price READ price WRITE setprice)
30 virtual Nullable<QString>
capacity()
const{
return mp_capacity;}
32 virtual Nullable<QString>
name()
const{
return mp_name;}
34 virtual Nullable<QString>
price()
const{
return mp_price;}
38 virtual void setname(Nullable<QString> s){mp_name=s;}
40 virtual void setprice(Nullable<QString> s){mp_price=s;}
47 QDomElement toXml(QDomDocument&doc,QString name=
"SeatPlanVGroup");
49 void toXml(QDomDocument&,QDomElement&);
virtual void setcapacity(Nullable< QString > s)
amount of seats in this (part of the) group
Definition: srcMOSeatPlanVGroupAbstract.h:36
Nullable< QString > mp_capacity
Definition: srcMOSeatPlanVGroupAbstract.h:25
virtual Nullable< QString > price() const
definition of categories in this group
Definition: srcMOSeatPlanVGroupAbstract.h:34
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOSeatPlanVGroupAbstract.h:8
virtual void setname(Nullable< QString > s)
human readable name of the group
Definition: srcMOSeatPlanVGroupAbstract.h:38
MOSeatPlanVGroupAbstract()
default constructor: constructs an invalid instance of MOSeatPlanVGroupAbstract
Definition: srcMOSeatPlanVGroupAbstract.h:52
Nullable< QString > mp_name
Definition: srcMOSeatPlanVGroupAbstract.h:26
Q_DECLARE_METATYPE(QDomNode)
virtual void setprice(Nullable< QString > s)
definition of categories in this group
Definition: srcMOSeatPlanVGroupAbstract.h:40
Nullable< QString > mp_price
Definition: srcMOSeatPlanVGroupAbstract.h:27
virtual Nullable< QString > name() const
human readable name of the group
Definition: srcMOSeatPlanVGroupAbstract.h:32
virtual Nullable< QString > capacity() const
amount of seats in this (part of the) group
Definition: srcMOSeatPlanVGroupAbstract.h:30
This is a helper for parsing seat plans: it defines a virtual group of categories.
Definition: srcMOSeatPlanVGroupAbstract.h:15
virtual ~MOSeatPlanVGroupAbstract()
destructor: deletes this copy of the object
Definition: srcMOSeatPlanVGroupAbstract.h:64