Doc: Add alt-text for Qt Network examples

QDoc generates warnings for images that do not have an alternate-text
associated with it. Alt-text is required for to increase accessibilty
options.

This patch adds alt-text to images in the Qt Network

Fixes: QTBUG-135122
Pick-to: 6.9 6.8
Change-Id: I690f1d381ef5a9052e189dd1f3906243df557da0
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Safiyyah Moosa 2025-04-08 19:20:08 +02:00
parent 2edd9286cf
commit ae6ba06e55
14 changed files with 14 additions and 14 deletions

View File

@ -9,7 +9,7 @@
\ingroup examples-network
\brief Demonstrates how to create a client for a network service.
\image blockingfortuneclient-example.png
\image blockingfortuneclient-example.png {The user provides server details and Q TcpSocket's blocking API is used to complete network operations}
QTcpSocket supports two general approaches to network programming:

View File

@ -12,5 +12,5 @@
This example uses the Qt Network APIs to demonstrate how to receive
messages broadcasted over a local network.
\image broadcastreceiver-example.png
\image broadcastreceiver-example.png {The broadcast receiver listens for incoming messages using UDP communication}
*/

View File

@ -12,5 +12,5 @@
This example uses Qt Network APIs to demonstrate how to broadcast messages
to multiple clients over a local network.
\image broadcastsender-example.png
\image broadcastsender-example.png {The broadcast sender sends datagrams using UDP communication}
*/

View File

@ -13,5 +13,5 @@
name and print the results on the command line. As well as how you can
use QCommandLineParser to parse command line arguments.
\image dnslookup-example.webp
\image dnslookup-example.webp {To perform a lookup, specify a host name and a type, then invoke the Q Dns Lookup lookup slot.}
*/

View File

@ -13,7 +13,7 @@
This example demonstrates how a simple HTTP client can fetch files
from remote hosts.
\image http-example.webp
\image http-example.webp {The user enters the URL, file name, and download location in the main window. The QNetworkAccessManager class uses this information to download the file}
The main work of this example is done in the HttpWindow class.
Thus we will focus on that.

View File

@ -12,5 +12,5 @@
This example demonstrates how to send messages to the clients of a
multicast group.
\image multicastsender-example.webp
\image multicastsender-example.webp {The application sends multicast messages via UDP communication}
*/

View File

@ -11,5 +11,5 @@
This example demonstrates how to use SCTP, with multiple channels,
to interact with other clients through a server.
\image multi-stream-client-example.webp
\image multi-stream-client-example.webp {The application allows the user to write data to other clients via SCTP communication}
*/

View File

@ -12,5 +12,5 @@
This example demonstrates how to use SCTP, with multiple channels,
on the server side, receiving multiple connections and sending
messages to connected clients.
\image multi-stream-server-example.webp
\image multi-stream-server-example.webp {The application allows the user to write data to multiple clients via SCTP communication}
*/

View File

@ -12,5 +12,5 @@
This example uses broadcasting with QUdpSocket and QNetworkInterface to
discover its peers.
\image network-chat-example.webp
\image network-chat-example.webp {This application sets up a peer-to-peer network to allow multiple participants to chat with one another}
*/

View File

@ -24,7 +24,7 @@
the parsed content may start in one chunk of data but not be completed until
a later chunk, requiring the parser to retain state between calls.
\image rsslisting.png
\image rsslisting.png {The application fetches information from the specified URL, in this case, Qt Blog, and then parses the available XML data}
The main program is fairly minimal. It simply instantiates a \l QApplication
and the \c RSSListing widget, shows the latter and hands over control to the

View File

@ -13,5 +13,5 @@
encrypted connection, deal with authenticity problems, and display security
and certificate information.
\image securesocketclient-example.webp
\image securesocketclient-example.webp {The user enters the host name and port that they want to connect to, and are then able to view the security certificate}
*/

View File

@ -12,7 +12,7 @@
simple network service that uses threads to handle requests from different
clients. It is intended to be run alongside the Fortune Client example.
\image threadedfortuneserver-example.png
\image threadedfortuneserver-example.png {This application creates a server that can a separate thread for each client}
The implementation of this example is similar to that of the
\l{fortuneserver}{Fortune Server} example, but here we will

View File

@ -11,5 +11,5 @@
This example demonstrates some of the complex TCP/IP operations
supported by the Qt Network APIs.
\image torrent-example.png
\image torrent-example.png {This application implements the BitTorrent protocol to facilitate peer-to-peer file-sharing}
*/

View File

@ -7,7 +7,7 @@
\title Network Examples
\brief How to do network programming in Qt.
\image network-examples.webp
\image network-examples.webp {There are many examples that demonstrate the capabilities of Qt Network}
Qt is provided with an extensive set of network classes to support both
client-based and server side network programming.