summaryrefslogtreecommitdiff
path: root/examples/websockets/doc/echoclient.qdoc
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-11 10:53:39 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-04-12 09:11:58 +0000
commita5f6f3f710fc9de3f8b9d4685e22c9c8912b11d9 (patch)
tree759a501521e8ad039eb47ad8feabd42ae341453b /examples/websockets/doc/echoclient.qdoc
parent94e9077a2aa871a6087c800bb18693e52ed00663 (diff)
downloadqtwebsockets-a5f6f3f710fc9de3f8b9d4685e22c9c8912b11d9.tar.gz
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: Ia1b34175e10109eef055b2759705f0ca0521179a Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/websockets/doc/echoclient.qdoc')
-rw-r--r--examples/websockets/doc/echoclient.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/websockets/doc/echoclient.qdoc b/examples/websockets/doc/echoclient.qdoc
index 1f328f0..871a916 100644
--- a/examples/websockets/doc/echoclient.qdoc
+++ b/examples/websockets/doc/echoclient.qdoc
@@ -4,7 +4,7 @@
/*!
\example echoclient
\title WebSocket Echo Client
- \meta category {Networking}
+ \examplecategory {Networking}
\ingroup qtwebsockets-examples
\brief Show how to write a simple WebSocket client application.