diff options
Diffstat (limited to 'examples/network/doc/src/fortuneclient.qdoc')
-rw-r--r-- | examples/network/doc/src/fortuneclient.qdoc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/network/doc/src/fortuneclient.qdoc b/examples/network/doc/src/fortuneclient.qdoc index 2e5c976ecc..054937e893 100644 --- a/examples/network/doc/src/fortuneclient.qdoc +++ b/examples/network/doc/src/fortuneclient.qdoc @@ -3,7 +3,9 @@ /*! \example fortuneclient - \title Fortune Client Example + \title Fortune Client + \examplecategory {Networking} + \meta tags {tcp,network} \ingroup examples-network \brief Demonstrates how to create a client for a network service. @@ -38,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: @@ -59,7 +61,7 @@ The protocol is based on QDataStream, so we set the stream device to the newly created socket. We then explicitly set the protocol version of the - stream to QDataStream::Qt_4_0 to ensure that we're using the same version + stream to QDataStream::Qt_6_5 to ensure that we're using the same version as the fortune server, no matter which version of Qt the client and server use. @@ -132,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} */ |