diff options
author | Arnab Datta <arnab.datta@nokia.com> | 2012-03-30 16:33:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-13 13:08:08 +0200 |
commit | 08a3b2ea08480ef2f5b4ebc9d9a1442d45e1fa4c (patch) | |
tree | d6590c2e805d5d2600059ec3c8136b06e0f14880 /src/xmlpatterns/api/qxmlquery.cpp | |
parent | 0d6c28c5eb7046bbc011b060fdcab1f622ed9f9a (diff) |
Fixed all qdoc errors for this module (except those related to linking)
Change-Id: I36d07a02ec8dea6bc2d538f32b28b987635c32c1
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/xmlpatterns/api/qxmlquery.cpp')
-rw-r--r-- | src/xmlpatterns/api/qxmlquery.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xmlpatterns/api/qxmlquery.cpp b/src/xmlpatterns/api/qxmlquery.cpp index b98d44d3..d4c11a3e 100644 --- a/src/xmlpatterns/api/qxmlquery.cpp +++ b/src/xmlpatterns/api/qxmlquery.cpp @@ -77,7 +77,7 @@ QT_BEGIN_NAMESPACE {http://www.w3.org/TR/xpath-datamodel/} {XQuery 1.0 and XPath 2.0 Data Model}. - \snippet doc/src/snippets/code/src_xmlpatterns_api_qabstractxmlreceiver.cpp 0 + \snippet code/src_xmlpatterns_api_qabstractxmlreceiver.cpp 0 The example uses QXmlQuery to match the first paragraph of an XML document and then \l {QXmlSerializer} {output the result} to a @@ -139,7 +139,7 @@ QT_BEGIN_NAMESPACE an XSLT stylesheet instead of as an XQuery. You must also set the input document by calling setFocus(). - \snippet doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp 7 + \snippet code/src_xmlpatterns_api_qxmlquery.cpp 7 \note Currently, setFocus() must be called \e before setQuery() when using XSLT. @@ -552,7 +552,7 @@ void QXmlQuery::bindVariable(const QXmlName &name, const QXmlItem &value) query's \l {QXmlNamePool} {namespace}. The function then behaves as the overloaded function. It is equivalent to the following snippet. - \snippet doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp 0 + \snippet code/src_xmlpatterns_api_qxmlquery.cpp 0 */ void QXmlQuery::bindVariable(const QString &localName, const QXmlItem &value) { @@ -567,7 +567,7 @@ void QXmlQuery::bindVariable(const QString &localName, const QXmlItem &value) this function can be used to pass an XML document in memory to \c{fn:doc}. - \snippet doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp 1 + \snippet code/src_xmlpatterns_api_qxmlquery.cpp 1 The caller must ensure that \a device has been opened with at least QIODevice::ReadOnly prior to this binding. Otherwise, behavior is @@ -577,7 +577,7 @@ void QXmlQuery::bindVariable(const QString &localName, const QXmlItem &value) a QBuffer as shown in the following snippet. Suppose \e myQString contains \c{<document>content</document>} - \snippet doc/src/snippets/qxmlquery/bindingExample.cpp 0 + \snippet qxmlquery/bindingExample.cpp 0 \a name must not be \e null. \a {name}.isNull() must return false. If \a name has already been bound, its previous binding will be @@ -638,7 +638,7 @@ void QXmlQuery::bindVariable(const QXmlName &name, QIODevice *device) If \a localName is a valid \l {QXmlName::isNCName()} {NCName}, this function is equivalent to the following snippet. - \snippet doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp 2 + \snippet code/src_xmlpatterns_api_qxmlquery.cpp 2 A QXmlName is constructed from \a localName, and is passed to the appropriate overload along with \a device. |