diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2019-02-22 10:55:44 +0100 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@qt.io> | 2019-02-27 12:51:29 +0000 |
commit | 411a90deea1d10656f813e11b97ec21ee11a2c4b (patch) | |
tree | 908dcc9744474a463dc8fcd398f877ecb3de96fd /src | |
parent | 9010c97bfb341166f963090935a0694a7ac5e929 (diff) | |
download | qtxmlpatterns-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>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/xmllistmodel/qqmlxmllistmodel.cpp | 4 |
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 |