From 1117e732d9fd2537edf2bf2fad54d187c6664b67 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 8 Sep 2021 12:13:21 +0200 Subject: Doc: Fix documentation warnings for Qt Network MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Clang compiler used in QDoc complained about the documentation- specific overload of QAbstractSocket::bind(): error: incomplete type 'QHostAddress' named in nested name specifier Also, fix an attempted snippet inclusion to use the \include command, and fix the comment tag spacing and indentation. Pick-to: 6.2 Fixes: QTBUG-96293 Change-Id: Ie4d78933fa7ac0aaf7f3bcc6487e7fd823db5123 Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Venugopal Shivashankar --- src/network/access/qnetworkaccessbackend.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/network/access') diff --git a/src/network/access/qnetworkaccessbackend.cpp b/src/network/access/qnetworkaccessbackend.cpp index acac03220a..b544e8436b 100644 --- a/src/network/access/qnetworkaccessbackend.cpp +++ b/src/network/access/qnetworkaccessbackend.cpp @@ -133,14 +133,14 @@ QStringList QNetworkAccessManagerPrivate::backendSupportedSchemes() const \since 6.0 \internal - //![semi-private-notice] +//! [semi-private-notice] The class is considered semi-private and as such requires linking to "NetworkPrivate" to access the header. Furthermore it means the class is not under the same binary compatibility restrictions as the rest of Qt. While we still try to avoid breakage it may still occur. The class is primarily meant to be used by plugins which would be recompiled every time Qt is updated. - //![semi-private-notice] +//! [semi-private-notice] This class acts as the primary interface to the plugin and must be derived from. It deals with both querying supported schemes @@ -177,7 +177,7 @@ QStringList QNetworkAccessManagerPrivate::backendSupportedSchemes() const \since 6.0 \internal - \snippet qnetworkaccessbackend.cpp semi-private-notice + \include access/qnetworkaccessbackend.cpp semi-private-notice This class can be derived from to add support for further schemes in QNetworkAccessManager. -- cgit v1.2.3