summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2020-10-29 19:12:32 +0100
committerTopi Reinio <topi.reinio@qt.io>2020-10-30 06:14:46 +0100
commit04283839157a13fd1fc9bb7a87013091ad686758 (patch)
tree2101fa9b07484c28edfc1c6edfc1a08702d1bd18 /src/network
parent5b76be7e2bbd6f6d1eccc3a52a4595223c0620a1 (diff)
Doc: Fix documentation warnings for Qt Network
Task-number: QTBUG-86295 Change-Id: Ib8bcf0a6e2af8a589b44e56b19641f4d2fe6f800 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/doc/snippets/network/network.pro6
-rw-r--r--src/network/doc/src/qtnetwork.qdoc4
-rw-r--r--src/network/ssl/qsslpresharedkeyauthenticator.cpp6
3 files changed, 10 insertions, 6 deletions
diff --git a/src/network/doc/snippets/network/network.pro b/src/network/doc/snippets/network/network.pro
index 7d3d2415ff..915eb1d44b 100644
--- a/src/network/doc/snippets/network/network.pro
+++ b/src/network/doc/snippets/network/network.pro
@@ -1,6 +1,10 @@
TEMPLATE = lib
TARGET = network_snippet
-QT = core network
+QT = core
+
+#! [0]
+QT += network
+#! [0]
SOURCES = \
tcpwait.cpp
diff --git a/src/network/doc/src/qtnetwork.qdoc b/src/network/doc/src/qtnetwork.qdoc
index ccd72400d5..0dcb19b1d1 100644
--- a/src/network/doc/src/qtnetwork.qdoc
+++ b/src/network/doc/src/qtnetwork.qdoc
@@ -37,13 +37,13 @@
\include module-use.qdocinc using qt module
\snippet doc/snippets/CMakeLists.txt 0
- See also the \l[QtDoc]{Build with CMake} overview.
+ See also the \l {Build with CMake} overview.
\section2 Building with qmake
Add \c network to the \c QT variable:
- \snippet doc/snippets/snippets.pro 0
+ \snippet doc/snippets/network/network.pro 0
\section1 Articles and Guides
diff --git a/src/network/ssl/qsslpresharedkeyauthenticator.cpp b/src/network/ssl/qsslpresharedkeyauthenticator.cpp
index ed6dbb87cf..abb3f3c45c 100644
--- a/src/network/ssl/qsslpresharedkeyauthenticator.cpp
+++ b/src/network/ssl/qsslpresharedkeyauthenticator.cpp
@@ -240,11 +240,11 @@ int QSslPreSharedKeyAuthenticator::maximumPreSharedKeyLength() const
}
/*!
- \relates QSslPreSharedKeyAuthenticator
+ \fn QSslPreSharedKeyAuthenticator::operator==(const QSslPreSharedKeyAuthenticator &lhs, const QSslPreSharedKeyAuthenticator &rhs)
\since 5.5
- Returns true if the authenticator object \a lhs is equal to \a rhs; false
- otherwise.
+ Returns \c true if the authenticator object \a lhs is equal to \a rhs;
+ \c false otherwise.
Two authenticator objects are equal if and only if they have the same
identity hint, identity, pre shared key, maximum length for the identity