summaryrefslogtreecommitdiff
path: root/examples/wayland/server-side-decoration
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-11 11:54:22 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-04-11 14:17:42 +0000
commit9130a67c5981abc35be406da593f3a4b7f8e281f (patch)
tree421732d37697f04b5103d28f8653d2d6117f3fb4 /examples/wayland/server-side-decoration
parent7819544b91a0fb8482f3d6fa2421ef9709d01a2f (diff)
downloadqtwayland-9130a67c5981abc35be406da593f3a4b7f8e281f.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: I86a8a71204d1dd0665ca6d8c40438c78817c007a Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/wayland/server-side-decoration')
-rw-r--r--examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc b/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc
index a48e4c47..ebbd1b14 100644
--- a/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc
+++ b/examples/wayland/server-side-decoration/doc/src/server-side-decoration.qdoc
@@ -4,7 +4,7 @@
/*!
* \title Server Side Decoration Compositor
* \example server-side-decoration
- * \meta category {Embedded}
+ * \examplecategory {Embedded}
* \brief Server Side Decoration Compositor is a simple example that demonstrates server side window decorations on xdg-shell.
* \ingroup qtwaylandcompositor-examples
*