From a02fb41c8ee039032045cbad02dd4f1dc3887d2f Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Wed, 1 Mar 2023 11:59:51 +0100 Subject: [PATCH] Doc: fix links to renamed network examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pick-to: 6.5 Change-Id: I8790bb660070a092e268294b5640c6d5af41deb0 Reviewed-by: MÃ¥rten Nordheim --- examples/corelib/threads/doc/src/mandelbrot.qdoc | 2 +- examples/network/doc/src/blockingfortuneclient.qdoc | 2 +- examples/network/doc/src/fortuneclient.qdoc | 4 ++-- examples/network/doc/src/fortuneserver.qdoc | 4 ++-- examples/network/doc/src/threadedfortuneserver.qdoc | 3 +-- src/network/socket/qtcpserver.cpp | 2 +- src/network/socket/qtcpsocket.cpp | 4 ++-- 7 files changed, 10 insertions(+), 11 deletions(-) diff --git a/examples/corelib/threads/doc/src/mandelbrot.qdoc b/examples/corelib/threads/doc/src/mandelbrot.qdoc index 23633e17dcf..fa9a7fc3f68 100644 --- a/examples/corelib/threads/doc/src/mandelbrot.qdoc +++ b/examples/corelib/threads/doc/src/mandelbrot.qdoc @@ -23,7 +23,7 @@ large set of problems, including synchronous network I/O and database access, where the user interface must remain responsive while some heavy operation is taking place. The \l - {Blocking Fortune Client Example} shows the same principle at + {Blocking Fortune Client} example shows the same principle at work in a TCP client. The Mandelbrot application supports zooming and scrolling using diff --git a/examples/network/doc/src/blockingfortuneclient.qdoc b/examples/network/doc/src/blockingfortuneclient.qdoc index ca37bb706d6..5255aa0ef34 100644 --- a/examples/network/doc/src/blockingfortuneclient.qdoc +++ b/examples/network/doc/src/blockingfortuneclient.qdoc @@ -171,5 +171,5 @@ Here, we simply display the fortune we received as the argument. - \sa {Fortune Client Example}, {Fortune Server Example} + \sa {Fortune Client}, {Fortune Server} */ diff --git a/examples/network/doc/src/fortuneclient.qdoc b/examples/network/doc/src/fortuneclient.qdoc index d493f81e5d9..a62d62141b1 100644 --- a/examples/network/doc/src/fortuneclient.qdoc +++ b/examples/network/doc/src/fortuneclient.qdoc @@ -40,7 +40,7 @@ \endlist In this example, we will demonstrate the asynchronous approach. The - \l{blockingfortuneclient}{Blocking Fortune Client Example} + \l{blockingfortuneclient}{Blocking Fortune Client} example illustrates the synchronous approach. Our class contains some data and a few private slots: @@ -134,5 +134,5 @@ After a successful read transaction, we call QLabel::setText() to display the fortune. - \sa {Fortune Server Example}, {Blocking Fortune Client Example} + \sa {Fortune Server}, {Blocking Fortune Client} */ diff --git a/examples/network/doc/src/fortuneserver.qdoc b/examples/network/doc/src/fortuneserver.qdoc index c0bb097c2ac..7007ca8fab7 100644 --- a/examples/network/doc/src/fortuneserver.qdoc +++ b/examples/network/doc/src/fortuneserver.qdoc @@ -11,7 +11,7 @@ This example is intended to be run alongside the \l{fortuneclient}{Fortune Client} example or the - \l{blockingfortuneclient}{Blocking Fortune Client Example}. + \l{blockingfortuneclient}{Blocking Fortune Client} example. \image fortuneserver-example.png Screenshot of the Fortune Server example @@ -71,5 +71,5 @@ will then close, which in turn will cause QObject::deleteLater() to delete it. - \sa {Fortune Client Example}, {Threaded Fortune Server Example} + \sa {Fortune Client}, {Threaded Fortune Server} */ diff --git a/examples/network/doc/src/threadedfortuneserver.qdoc b/examples/network/doc/src/threadedfortuneserver.qdoc index a740d126e25..368e3366314 100644 --- a/examples/network/doc/src/threadedfortuneserver.qdoc +++ b/examples/network/doc/src/threadedfortuneserver.qdoc @@ -81,6 +81,5 @@ the socket has disconnected. Because we are running in a separate thread, the GUI will remain responsive. - \sa {Fortune Server Example}, {Fortune Client Example}, {Blocking Fortune - Client Example} + \sa {Fortune Server}, {Fortune Client}, {Blocking Fortune Client} */ diff --git a/src/network/socket/qtcpserver.cpp b/src/network/socket/qtcpserver.cpp index cc748b9d7a6..31a3242d71b 100644 --- a/src/network/socket/qtcpserver.cpp +++ b/src/network/socket/qtcpserver.cpp @@ -43,7 +43,7 @@ use waitForNewConnection(), which blocks until either a connection is available or a timeout expires. - \sa QTcpSocket, {Fortune Server Example}, {Threaded Fortune Server Example}, + \sa QTcpSocket, {Fortune Server}, {Threaded Fortune Server}, {Loopback Example}, {Torrent Example} */ diff --git a/src/network/socket/qtcpsocket.cpp b/src/network/socket/qtcpsocket.cpp index 3d06197b1e7..b99a61aecd6 100644 --- a/src/network/socket/qtcpsocket.cpp +++ b/src/network/socket/qtcpsocket.cpp @@ -23,8 +23,8 @@ \note TCP sockets cannot be opened in QIODevice::Unbuffered mode. \sa QTcpServer, QUdpSocket, QNetworkAccessManager, - {Fortune Server Example}, {Fortune Client Example}, - {Threaded Fortune Server Example}, {Blocking Fortune Client Example}, + {Fortune Server}, {Fortune Client}, + {Threaded Fortune Server}, {Blocking Fortune Client}, {Loopback Example}, {Torrent Example} */