diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-04-11 12:02:10 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2023-04-11 17:25:42 +0000 |
commit | 45ca5c85855c6107813485e7977ea9a791cba6b9 (patch) | |
tree | 0e4a9b6ad357d38d23c6f96a4b916e16a46683c6 /examples/widgets/doc/src | |
parent | f334a22eaeb025ac147f2a88642d50b488d9a743 (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/widgets/doc/src')
-rw-r--r-- | examples/widgets/doc/src/analogclock.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/doc/src/analogclock.qdoc b/examples/widgets/doc/src/analogclock.qdoc index 2b318a3778..27d14be809 100644 --- a/examples/widgets/doc/src/analogclock.qdoc +++ b/examples/widgets/doc/src/analogclock.qdoc @@ -3,7 +3,7 @@ /*! \example widgets/analogclock - \meta category {Graphics} + \examplecategory {Graphics} \meta tags {widgets} \title Analog Clock |