summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxcontentwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfxcontentwrapper.h')
-rw-r--r--src/declarative/fx/qfxcontentwrapper.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/declarative/fx/qfxcontentwrapper.h b/src/declarative/fx/qfxcontentwrapper.h
index d8fe0b8..9a9a89c 100644
--- a/src/declarative/fx/qfxcontentwrapper.h
+++ b/src/declarative/fx/qfxcontentwrapper.h
@@ -44,12 +44,12 @@
#include <QtDeclarative/qfxitem.h>
-
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
+
class QFxContentWrapperPrivate;
class Q_DECLARATIVE_EXPORT QFxContentWrapper : public QFxItem
{
@@ -73,7 +73,6 @@ protected:
private:
Q_DECLARE_PRIVATE(QFxContentWrapper)
};
-QML_DECLARE_TYPE(QFxContentWrapper)
class Q_DECLARATIVE_EXPORT QFxContent : public QFxItem
{
@@ -81,10 +80,12 @@ class Q_DECLARATIVE_EXPORT QFxContent : public QFxItem
public:
QFxContent(QFxItem *parent=0) : QFxItem(parent) {}
};
-QML_DECLARE_TYPE(QFxContent)
QT_END_NAMESPACE
+QML_DECLARE_TYPE(QFxContentWrapper)
+QML_DECLARE_TYPE(QFxContent)
+
QT_END_HEADER
#endif // QFXCONTENTWRAPPER_H