summaryrefslogtreecommitdiffstats
path: root/examples/network/doc/src/fortuneclient.qdoc
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-11 12:02:10 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-04-11 17:25:42 +0000
commit45ca5c85855c6107813485e7977ea9a791cba6b9 (patch)
tree0e4a9b6ad357d38d23c6f96a4b916e16a46683c6 /examples/network/doc/src/fortuneclient.qdoc
parentf334a22eaeb025ac147f2a88642d50b488d9a743 (diff)
Doc: Use the \examplecategory macro to tag examples
The '\meta category' command was used for tagging examples with a specific category, used in Qt Creators Welcome mode. As we want to also generate lists of examples belonging to a category elsewhere in the documentation, replace the command with a macro that expands to the original \meta command and also adds the example to a group using the \ingroup command. This way, the category names can be used as arguments to the \generatelist or \annotatedlist commands. Pick-to: 6.5 Task-number: QTBUG-112731 Change-Id: I46762dabc5f718fecc09a3533235eaa911dda5a0 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/network/doc/src/fortuneclient.qdoc')
-rw-r--r--examples/network/doc/src/fortuneclient.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/doc/src/fortuneclient.qdoc b/examples/network/doc/src/fortuneclient.qdoc
index a62d62141b..c22641940c 100644
--- a/examples/network/doc/src/fortuneclient.qdoc
+++ b/examples/network/doc/src/fortuneclient.qdoc
@@ -4,7 +4,7 @@
/*!
\example fortuneclient
\title Fortune Client
- \meta category {Networking}
+ \examplecategory {Networking}
\meta tags {tcp,network}
\ingroup examples-network
\brief Demonstrates how to create a client for a network service.