summaryrefslogtreecommitdiff
path: root/src/xmlpatterns
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2015-10-02 15:06:00 +0200
committerTopi Reiniƶ <topi.reinio@digia.com>2015-10-05 08:26:57 +0000
commit32d682e86a6fff968bc08d4303e31c7a8610ee60 (patch)
treea116e532b3fb93d680368d7519cf90076c07fbc3 /src/xmlpatterns
parent840c86217b687cffffd8734ea04320538be3a0c4 (diff)
downloadqtxmlpatterns-32d682e86a6fff968bc08d4303e31c7a8610ee60.tar.gz
Doc: Fix linking issues
QXmlName has overloads for its functions, marked \internal, and QDoc fails to link to the public ones because it sees the internal ones first. As a workaround, exclude parentheses from the link - QDoc then uses a different code path which resolves the functions correctly. Change-Id: I0470cfd67c5d089ca586fd2debcb7b71c606a716 Reviewed-by: Nico Vertriest <nico.vertriest@digia.com>
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r--src/xmlpatterns/api/qabstractxmlreceiver.cpp2
-rw-r--r--src/xmlpatterns/api/qxmlquery.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlpatterns/api/qabstractxmlreceiver.cpp b/src/xmlpatterns/api/qabstractxmlreceiver.cpp
index ed5ce2d..3f5b443 100644
--- a/src/xmlpatterns/api/qabstractxmlreceiver.cpp
+++ b/src/xmlpatterns/api/qabstractxmlreceiver.cpp
@@ -340,7 +340,7 @@ allow null QUrls.
This callback is called when a namespace binding is in scope of an
element. A namespace is defined by a URI. In the \l {QXmlName}
\a name, the value of \l {QXmlName::namespaceUri()} is that URI. The
- value of \l {QXmlName::prefix()} is the prefix that the URI is bound
+ value of \l {QXmlName::prefix}() is the prefix that the URI is bound
to. The local name is insignificant and can be an arbitrary value.
*/
diff --git a/src/xmlpatterns/api/qxmlquery.cpp b/src/xmlpatterns/api/qxmlquery.cpp
index dd8faae..718b9c8 100644
--- a/src/xmlpatterns/api/qxmlquery.cpp
+++ b/src/xmlpatterns/api/qxmlquery.cpp
@@ -1100,7 +1100,7 @@ void QXmlQuery::setInitialTemplateName(const QXmlName &name)
\overload
Sets the name of the initial template to \a localName, which must be
- a valid \l{QXmlName::localName()} {local name}. The initial template
+ a valid \l{QXmlName::localName}{local name}. The initial template
is the one the processor calls first, instead of attempting to match
a template to the context node (if any). If an initial template is
not set, the standard order of template invocation will be used.
@@ -1109,7 +1109,7 @@ void QXmlQuery::setInitialTemplateName(const QXmlName &name)
stylesheets. The name becomes part of the compiled stylesheet.
Therefore, this function must be called before calling setQuery().
- If \a localName is not a valid \l{QXmlName::localName()} {local
+ If \a localName is not a valid \l{QXmlName::localName} {local
name}, the effect is undefined. If the stylesheet has no template
named \a localName, the processor will use the standard order of
template invocation.