summaryrefslogtreecommitdiffstats
path: root/src/declarative/extra/qmlxmllistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/extra/qmlxmllistmodel.h')
-rw-r--r--src/declarative/extra/qmlxmllistmodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/extra/qmlxmllistmodel.h b/src/declarative/extra/qmlxmllistmodel.h
index 0d41456..804f13f 100644
--- a/src/declarative/extra/qmlxmllistmodel.h
+++ b/src/declarative/extra/qmlxmllistmodel.h
@@ -84,7 +84,6 @@ private:
QString m_name;
QString m_query;
};
-QML_DECLARE_TYPE(XmlListModelRole)
class QmlXmlListModelPrivate;
class Q_DECLARATIVE_EXPORT QmlXmlListModel : public QListModelInterface, public QmlParserStatus
@@ -144,10 +143,11 @@ private:
Q_DISABLE_COPY(QmlXmlListModel)
};
-QML_DECLARE_TYPE(QmlXmlListModel)
-
QT_END_NAMESPACE
+QML_DECLARE_TYPE(XmlListModelRole)
+QML_DECLARE_TYPE(QmlXmlListModel)
+
QT_END_HEADER
#endif // QMLXMLLISTMODEL_H