3 #ifndef WOBGEN_MOSeatPlanImage
4 #define WOBGEN_MOSeatPlanImage
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
21 Q_PROPERTY(Nullable<QByteArray> Data READ Data WRITE setData)
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;}
40 QDomElement toXml(QDomDocument&doc,QString name=
"SeatPlanImage");
42 void toXml(QDomDocument&,QDomElement&);
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