make seatplan adjustable in qt
authorKonrad Rosenbaum <konrad@silmor.de>
Tue, 4 Jul 2017 20:59:11 +0000 (22:59 +0200)
committerKonrad Rosenbaum <konrad@silmor.de>
Wed, 5 Jul 2017 21:20:23 +0000 (23:20 +0200)
Change-Id: If8b2d7c207a494fcf83f5e174a08e953bebe4c6f

iface/wext/MOSeatPlan [new file with mode: 0644]
iface/wext/seatplanobj.h
iface/wext/seatplanobj2.h [new file with mode: 0644]
iface/wext/wext.pri
wob/classes/seatplan.wolf

diff --git a/iface/wext/MOSeatPlan b/iface/wext/MOSeatPlan
new file mode 100644 (file)
index 0000000..44bd090
--- /dev/null
@@ -0,0 +1 @@
+#include"seatplanobj2.h"
index 27d7a76..46ba33f 100644 (file)
@@ -4,7 +4,7 @@
 // Description: removes abstract flag from classes that only need to be abstract in PHP
 //
 //
-// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2009-2011
+// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2009-2017
 //
 // Copyright: See README/COPYING.GPL files that come with this distribution
 //
@@ -158,4 +158,5 @@ Q_DECLARE_METATYPE(MOSeatPlanVGroup)
 Q_DECLARE_METATYPE(QList<MOSeatPlanVGroup>)
 Q_DECLARE_METATYPE(Nullable<MOSeatPlanVGroup>)
 
+
 #endif
diff --git a/iface/wext/seatplanobj2.h b/iface/wext/seatplanobj2.h
new file mode 100644 (file)
index 0000000..ababa62
--- /dev/null
@@ -0,0 +1,30 @@
+//
+// C++ Interface: unabstract
+//
+// Description: removes abstract flag from classes that only need to be abstract in PHP
+//
+//
+// Author: Konrad Rosenbaum <konrad@silmor.de>, (C) 2017
+//
+// Copyright: See README/COPYING.GPL files that come with this distribution
+//
+//
+
+#ifndef MAGICSMOKE_MOSEATPLANOBJ2_H
+#define MAGICSMOKE_MOSEATPLANOBJ2_H
+
+#include "MOSeatPlanAbstract"
+
+class MSIFACE_EXPORT MOSeatPlan:public MOSeatPlanAbstract
+{
+       Q_GADGET
+       WOBJECT(MOSeatPlan)
+       public:
+               void f(){}
+};
+
+Q_DECLARE_METATYPE(MOSeatPlan)
+Q_DECLARE_METATYPE(QList<MOSeatPlan>)
+Q_DECLARE_METATYPE(Nullable<MOSeatPlan>)
+
+#endif
index 9fbbe7d..b59c2e2 100644 (file)
@@ -12,6 +12,7 @@ HEADERS += \
        wext/transaction.h \
        wext/keyvalue.h \
        wext/seatplanobj.h \
+       wext/seatplanobj2.h \
        wext/eventsaleinfo.h
 
 SOURCES += \
index f59fbd9..89a1d91 100644 (file)
@@ -73,6 +73,7 @@
        </Class>
 
         <Class name="SeatPlan">
+               <Abstract lang="qt"/>
                <Abstract lang="php"/>
                 <Doc>This class is used to parse seat plans on either side. It is not sent
                over the wire, since it is just a helper class.</Doc>