summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxrect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxrect.h')
-rw-r--r--src/declarative/fx/qfxrect.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/declarative/fx/qfxrect.h b/src/declarative/fx/qfxrect.h
index df490b0..2b35d8d 100644
--- a/src/declarative/fx/qfxrect.h
+++ b/src/declarative/fx/qfxrect.h
@@ -77,7 +77,6 @@ private:
QColor _color;
bool _valid;
};
-QML_DECLARE_TYPE(QFxPen)
class Q_DECLARATIVE_EXPORT QFxGradientStop : public QObject
{
@@ -102,7 +101,6 @@ private:
qreal m_position;
QColor m_color;
};
-QML_DECLARE_TYPE(QFxGradientStop)
class Q_DECLARATIVE_EXPORT QFxGradient : public QObject
{
@@ -130,7 +128,6 @@ private:
mutable QGradient *m_gradient;
friend class QFxGradientStop;
};
-QML_DECLARE_TYPE(QFxGradient)
class QFxRectPrivate;
class Q_DECLARATIVE_EXPORT QFxRect : public QFxItem
@@ -184,10 +181,14 @@ private:
Q_DISABLE_COPY(QFxRect)
Q_DECLARE_PRIVATE(QFxRect)
};
-QML_DECLARE_TYPE(QFxRect)
QT_END_NAMESPACE
+QML_DECLARE_TYPE(QFxPen)
+QML_DECLARE_TYPE(QFxGradientStop)
+QML_DECLARE_TYPE(QFxGradient)
+QML_DECLARE_TYPE(QFxRect)
+
QT_END_HEADER
#endif // QFXRECT_H