MagicSmoke  $VERSION$
srcMOSeatPlanDefPriceAbstract.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MOSeatPlanDefPriceAbstract
4 #define WOBGEN_MOSeatPlanDefPriceAbstract
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "WObject"
12 #include <QCoreApplication>
13 
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<QString> capacity READ capacity WRITE setcapacity)
21  Q_PROPERTY(Nullable<QString> price READ price WRITE setprice)
23  Q_PROPERTY(Nullable<QString> cost READ cost WRITE setcost)
24  protected:
25  Nullable<QString> mp_capacity;
26  Nullable<QString> mp_price;
27  Nullable<QString> mp_cost;
28  public:
30  virtual Nullable<QString> capacity()const{return mp_capacity;}
32  virtual Nullable<QString> price()const{return mp_price;}
34  virtual Nullable<QString> cost()const{return mp_cost;}
36  virtual void setcapacity(Nullable<QString> s){mp_capacity=s;}
38  virtual void setprice(Nullable<QString> s){mp_price=s;}
40  virtual void setcost(Nullable<QString> s){mp_cost=s;}
41  public:
43  QString toString();
47  QDomElement toXml(QDomDocument&doc,QString name="SeatPlanDefPrice");
49  void toXml(QDomDocument&,QDomElement&);
50  public:
58  explicit MOSeatPlanDefPriceAbstract(const QDomElement&);
60  static MOSeatPlanDefPriceAbstract fromXml(const QDomElement&);
62  static MOSeatPlanDefPriceAbstract fromString(const QString&);
65 
66 };
70 
71 //END OF AUTOMATICALLY GENERATED FILE
72 #endif
Default price categories for a seat plan.
Definition: srcMOSeatPlanDefPriceAbstract.h:15
virtual Nullable< QString > capacity() const
amount of seats in this (part of the) group
Definition: srcMOSeatPlanDefPriceAbstract.h:30
virtual void setprice(Nullable< QString > s)
definition of categories in this group
Definition: srcMOSeatPlanDefPriceAbstract.h:38
Nullable< QString > mp_capacity
Definition: srcMOSeatPlanDefPriceAbstract.h:25
virtual ~MOSeatPlanDefPriceAbstract()
destructor: deletes this copy of the object
Definition: srcMOSeatPlanDefPriceAbstract.h:64
Nullable< QString > mp_cost
Definition: srcMOSeatPlanDefPriceAbstract.h:27
virtual Nullable< QString > cost() const
default cost definition
Definition: srcMOSeatPlanDefPriceAbstract.h:34
MOSeatPlanDefPriceAbstract()
default constructor: constructs an invalid instance of MOSeatPlanDefPriceAbstract ...
Definition: srcMOSeatPlanDefPriceAbstract.h:52
virtual Nullable< QString > price() const
definition of categories in this group
Definition: srcMOSeatPlanDefPriceAbstract.h:32
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOSeatPlanDefPriceAbstract.h:8
virtual void setcapacity(Nullable< QString > s)
amount of seats in this (part of the) group
Definition: srcMOSeatPlanDefPriceAbstract.h:36
Q_DECLARE_METATYPE(QDomNode)
Nullable< QString > mp_price
Definition: srcMOSeatPlanDefPriceAbstract.h:26
virtual void setcost(Nullable< QString > s)
default cost definition
Definition: srcMOSeatPlanDefPriceAbstract.h:40