summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2019-02-22 10:55:44 +0100
committerNico Vertriest <nico.vertriest@qt.io>2019-02-27 12:51:29 +0000
commit411a90deea1d10656f813e11b97ec21ee11a2c4b (patch)
tree908dcc9744474a463dc8fcd398f877ecb3de96fd
parent9010c97bfb341166f963090935a0694a7ac5e929 (diff)
downloadqtxmlpatterns-411a90deea1d10656f813e11b97ec21ee11a2c4b.tar.gz
Doc: Fix documentation errors
- wrong file name for snippet file - instantiates statement provoking spurious errors Change-Id: I39d0852828c7382eda709bf32e2d6b3e6a8c6c53 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/imports/xmllistmodel/qqmlxmllistmodel.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
index ba8d948..6dde104 100644
--- a/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
+++ b/src/imports/xmllistmodel/qqmlxmllistmodel.cpp
@@ -91,7 +91,6 @@ typedef QPair<int, int> QQuickXmlListRange;
/*!
\qmltype XmlRole
- \instantiates QQuickXmlListModelRole
\inqmlmodule QtQuick.XmlListModel
\brief For specifying a role to an XmlListModel.
\ingroup qtquick-models
@@ -133,7 +132,7 @@ typedef QPair<int, int> QQuickXmlListRange;
For example, if there is an XML document like this:
- \quotefile qml/xmlrole.xml
+ \quotefile qml/xmlrole.qml
Here are some valid XPath expressions for XmlRole queries on this document:
\snippet qml/xmlrole.qml 0
@@ -627,7 +626,6 @@ void QQuickXmlListModelPrivate::clear_role(QQmlListProperty<QQuickXmlListModelRo
/*!
\qmltype XmlListModel
- \instantiates QQuickXmlListModel
\inqmlmodule QtQuick.XmlListModel
\brief For specifying a read-only model using XPath expressions.
\ingroup qtquick-models