diff options
-rw-r--r-- | src/designer/src/lib/shared/spacer_widget_p.h | 1 | ||||
-rw-r--r-- | src/shared/qtgradienteditor/qtcolorline.h | 2 | ||||
-rw-r--r-- | src/shared/qtpropertybrowser/qttreepropertybrowser.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/designer/src/lib/shared/spacer_widget_p.h b/src/designer/src/lib/shared/spacer_widget_p.h index 3858c644e..a982e99b0 100644 --- a/src/designer/src/lib/shared/spacer_widget_p.h +++ b/src/designer/src/lib/shared/spacer_widget_p.h @@ -54,7 +54,6 @@ class QDESIGNER_SHARED_EXPORT Spacer: public QWidget { Q_OBJECT - Q_ENUMS(SizeType) // Special hack: Make name appear as "spacer name" Q_PROPERTY(QString spacerName READ objectName WRITE setObjectName) Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation) diff --git a/src/shared/qtgradienteditor/qtcolorline.h b/src/shared/qtgradienteditor/qtcolorline.h index 606d0fa84..6d19ed4d9 100644 --- a/src/shared/qtgradienteditor/qtcolorline.h +++ b/src/shared/qtgradienteditor/qtcolorline.h @@ -54,7 +54,6 @@ class QtColorLine : public QWidget Q_PROPERTY(bool backgroundCheckered READ isBackgroundCheckered WRITE setBackgroundCheckered) Q_PROPERTY(ColorComponent colorComponent READ colorComponent WRITE setColorComponent) Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation) - Q_ENUMS(ColorComponent) public: enum ColorComponent { @@ -66,6 +65,7 @@ public: Value, Alpha }; + Q_ENUM(ColorComponent) QSize minimumSizeHint() const; QSize sizeHint() const; diff --git a/src/shared/qtpropertybrowser/qttreepropertybrowser.h b/src/shared/qtpropertybrowser/qttreepropertybrowser.h index a2ea777f6..9ff4d5f50 100644 --- a/src/shared/qtpropertybrowser/qttreepropertybrowser.h +++ b/src/shared/qtpropertybrowser/qttreepropertybrowser.h @@ -50,7 +50,6 @@ class QtTreePropertyBrowserPrivate; class QtTreePropertyBrowser : public QtAbstractPropertyBrowser { Q_OBJECT - Q_ENUMS(ResizeMode) Q_PROPERTY(int indentation READ indentation WRITE setIndentation) Q_PROPERTY(bool rootIsDecorated READ rootIsDecorated WRITE setRootIsDecorated) Q_PROPERTY(bool alternatingRowColors READ alternatingRowColors WRITE setAlternatingRowColors) @@ -67,6 +66,7 @@ public: Fixed, ResizeToContents }; + Q_ENUM(ResizeMode) QtTreePropertyBrowser(QWidget *parent = 0); ~QtTreePropertyBrowser(); |