From a96771bb2d4793a0c9191f7745ce8075fdf06e02 Mon Sep 17 00:00:00 2001 From: Lukas W Date: Fri, 24 Nov 2017 13:48:36 +0100 Subject: [PATCH] Add Q_OBJECT to FloatModel, IntModel, BoolModel --- include/AutomatableModel.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/AutomatableModel.h b/include/AutomatableModel.h index cdfdffccf..37796177e 100644 --- a/include/AutomatableModel.h +++ b/include/AutomatableModel.h @@ -397,8 +397,9 @@ signals: // some typed AutomatableModel-definitions -class FloatModel : public AutomatableModel +class EXPORT FloatModel : public AutomatableModel { + Q_OBJECT public: FloatModel( float val = 0, float min = 0, float max = 0, float step = 0, Model * parent = NULL, @@ -414,8 +415,9 @@ public: } ; -class IntModel : public AutomatableModel +class EXPORT IntModel : public AutomatableModel { + Q_OBJECT public: IntModel( int val = 0, int min = 0, int max = 0, Model* parent = NULL, @@ -430,8 +432,9 @@ public: } ; -class BoolModel : public AutomatableModel +class EXPORT BoolModel : public AutomatableModel { + Q_OBJECT public: BoolModel( const bool val = false, Model* parent = NULL,