Skip to content

Commit

Permalink
Add Q_OBJECT to FloatModel, IntModel, BoolModel
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-w committed Nov 24, 2017
1 parent aa1406b commit a96771b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/AutomatableModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,9 @@ public slots:

// 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,
Expand All @@ -414,8 +415,9 @@ class FloatModel : public AutomatableModel
} ;


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,
Expand All @@ -430,8 +432,9 @@ class IntModel : public AutomatableModel
} ;


class BoolModel : public AutomatableModel
class EXPORT BoolModel : public AutomatableModel
{
Q_OBJECT
public:
BoolModel( const bool val = false,
Model* parent = NULL,
Expand Down

0 comments on commit a96771b

Please sign in to comment.