MagicSmoke  $VERSION$
eventsaleinfo.h
Go to the documentation of this file.
1 //
2 // C++ Interface: unabstract
3 //
4 // Description: removes abstract flag from classes that only need to be abstract in PHP
5 //
6 //
7 // Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2009-2011
8 //
9 // Copyright: See README/COPYING.GPL files that come with this distribution
10 //
11 //
12 
13 #ifndef MAGICSMOKE_MOEVENTSALEINFO_H
14 #define MAGICSMOKE_MOEVENTSALEINFO_H
15 
16 #include "MOEventSaleInfoAbstract"
17 #include "MOSeatPlan"
18 
19 #ifndef MSIFACE_EXPORT
20 #define MSIFACE_EXPORT Q_DECL_IMPORT
21 #endif
22 
23 
24 
25 //class MOSeatPlan;
28 {
29  Q_GADGET
30  WOBJECT(MOEventSaleInfo)
31  Q_PROPERTY(bool isValid READ isValid)
32  Q_PROPERTY(MOSeatPlan seatplan READ seatplan)
33  public:
35  bool isValid()const{return !eventid().isNull();}
36 
38  MOSeatPlan seatplan()const;
39 
41  MOSeatPlan seatplanAdjusted()const;
42 };
43 
47 
48 #endif
this class represents a seat group
Definition: eventsaleinfo.h:27
virtual Nullable< qint64 > eventid() const
Definition: srcMOEventSaleInfoAbstract.h:51
This class is used to parse seat plans on either side.
Definition: seatplanobj2.h:18
bool isValid() const
returns whether the object is valid (it comes from the DB and it has been understood by the parser) ...
Definition: eventsaleinfo.h:35
Q_DECLARE_METATYPE(QDomNode)
#define MSIFACE_EXPORT
Definition: eventsaleinfo.h:20
This class transports all data necessary to calculate the free seats of an event. ...
Definition: srcMOEventSaleInfoAbstract.h:18