From 32d682e86a6fff968bc08d4303e31c7a8610ee60 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 2 Oct 2015 15:06:00 +0200 Subject: 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 --- src/xmlpatterns/api/qabstractxmlreceiver.cpp | 2 +- src/xmlpatterns/api/qxmlquery.cpp | 4 ++-- 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. -- cgit v1.2.1