diff options
author | Topi Reinio <topi.reinio@qt.io> | 2023-04-11 11:08:09 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2023-04-11 13:34:44 +0000 |
commit | b519fe95fdb2dde80b37d5ddc42234e7ed9f6d26 (patch) | |
tree | e30ccf67be51b4783ace46de83956930ff30f42d /examples/protobuf/sensors | |
parent | c82b7875dace40f15dbced1bc91770e5557c30de (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: I38b38c524b35ad4c0049f2978f5fc65d03c6a1cd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/protobuf/sensors')
-rw-r--r-- | examples/protobuf/sensors/doc/sensors.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/protobuf/sensors/doc/sensors.qdoc b/examples/protobuf/sensors/doc/sensors.qdoc index 5676910..498fd7d 100644 --- a/examples/protobuf/sensors/doc/sensors.qdoc +++ b/examples/protobuf/sensors/doc/sensors.qdoc @@ -5,7 +5,7 @@ \example sensors \ingroup qtprotobuf-examples \meta tag {network,protobuf,serialization,udp} - \meta category {Networking} + \examplecategory {Networking} \title Sensors \brief The Sensors example shows how two applications can communicate by |