summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-server
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2023-04-11 11:53:22 +0000
committerTopi Reinio <topi.reinio@qt.io>2023-04-11 13:34:19 +0000
commit6d00c732c46b295402c5cbc05c3b73cb4cd833b5 (patch)
treee417379aff4417cff93571d8b3a0fb0c647648ff /examples/bluetooth/heartrate-server
parent8df4e6992501877f3286e58992142b137789c799 (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: I1df2d3bd6f2ef904ac7bac4d606b93d3824a802a Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-server')
-rw-r--r--examples/bluetooth/heartrate-server/doc/src/heartrate-server.qdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-server/doc/src/heartrate-server.qdoc b/examples/bluetooth/heartrate-server/doc/src/heartrate-server.qdoc
index c5ccf1de..e3e625aa 100644
--- a/examples/bluetooth/heartrate-server/doc/src/heartrate-server.qdoc
+++ b/examples/bluetooth/heartrate-server/doc/src/heartrate-server.qdoc
@@ -4,7 +4,7 @@
/*!
\example heartrate-server
\title Bluetooth Low Energy Heart Rate Server
- \meta category {Connectivity}
+ \examplecategory {Connectivity}
\brief An example demonstrating how to set up and advertise a GATT service. The example
demonstrates the use of the Qt Bluetooth Low Energy classes related to peripheral (slave)
functionality.