MagicSmoke  $VERSION$
srcMOSeatPlanImage.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_MOSeatPlanImage
4 #define WOBGEN_MOSeatPlanImage
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> name READ name WRITE setname)
21  Q_PROPERTY(Nullable<QByteArray> Data READ Data WRITE setData)
22  protected:
23  Nullable<QString> mp_name;
24  Nullable<QByteArray> mp_Data;
25  public:
27  virtual Nullable<QString> name()const{return mp_name;}
29  virtual Nullable<QByteArray> Data()const{return mp_Data;}
31  virtual void setname(Nullable<QString> s){mp_name=s;}
33  virtual void setData(Nullable<QByteArray> s){mp_Data=s;}
34  public:
36  QString toString();
40  QDomElement toXml(QDomDocument&doc,QString name="SeatPlanImage");
42  void toXml(QDomDocument&,QDomElement&);
43  public:
45  MOSeatPlanImage():WObject(){}
49  MOSeatPlanImage& operator=(const MOSeatPlanImage&);
51  explicit MOSeatPlanImage(const QDomElement&);
53  static MOSeatPlanImage fromXml(const QDomElement&);
55  static MOSeatPlanImage fromString(const QString&);
57  virtual ~MOSeatPlanImage(){}
58 
59 };
63 
64 //END OF AUTOMATICALLY GENERATED FILE
65 #endif
virtual Nullable< QByteArray > Data() const
Definition: srcMOSeatPlanImage.h:29
virtual Nullable< QString > name() const
Definition: srcMOSeatPlanImage.h:27
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOSeatPlanImage.h:8
Nullable< QByteArray > mp_Data
Definition: srcMOSeatPlanImage.h:24
MOSeatPlanImage()
default constructor: constructs an invalid instance of MOSeatPlanImage
Definition: srcMOSeatPlanImage.h:45
Nullable< QString > mp_name
Definition: srcMOSeatPlanImage.h:23
Image data that can be embedded in seat plan backgrounds.
Definition: srcMOSeatPlanImage.h:15
Q_DECLARE_METATYPE(QDomNode)
virtual ~MOSeatPlanImage()
destructor: deletes this copy of the object
Definition: srcMOSeatPlanImage.h:57
virtual void setData(Nullable< QByteArray > s)
Definition: srcMOSeatPlanImage.h:33
virtual void setname(Nullable< QString > s)
Definition: srcMOSeatPlanImage.h:31