Doc: Fix documentation warnings for Qt Network

Task-number: QTBUG-86295
Change-Id: Ib8bcf0a6e2af8a589b44e56b19641f4d2fe6f800
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
bb10
Topi Reinio 2020-10-29 19:12:32 +01:00
parent 5b76be7e2b
commit 0428383915
3 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,10 @@
TEMPLATE = lib
TARGET = network_snippet
QT = core network
QT = core
#! [0]
QT += network
#! [0]
SOURCES = \
tcpwait.cpp

View File

@ -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

View File

@ -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