diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-05-16 11:42:24 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-05-19 09:54:00 +0200 |
commit | 02ccd2460c7ba2f27e8a2021b1f911a9e16bf703 (patch) | |
tree | b0c133157db89a499d3a630982708e336691c5c8 /src/bluetooth/qlowenergycontroller.cpp | |
parent | d58d134d25695dd044fc13d57a4d754b1dfb4e4a (diff) |
Properly use 'since' qdoc command in enum values documentation
Instead of manually writing something like
"this value was introduced by <Qt version>"
Change-Id: I64ab419d034c2b01217670d0a09c9cd9ae79b6df
Reviewed-by: Juha Vuolle <juha.vuolle@insta.fi>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/bluetooth/qlowenergycontroller.cpp b/src/bluetooth/qlowenergycontroller.cpp index ca279aa3..1ecda1a5 100644 --- a/src/bluetooth/qlowenergycontroller.cpp +++ b/src/bluetooth/qlowenergycontroller.cpp @@ -160,15 +160,11 @@ Q_DECLARE_LOGGING_CATEGORY(QT_BT_ANDROID) \value InvalidBluetoothAdapterError The local Bluetooth device with the address passed to the constructor of this class cannot be found or there is no local Bluetooth device. - \value ConnectionError The attempt to connect to the remote device failed. - This value was introduced by Qt 5.5. - \value AdvertisingError The attempt to start advertising failed. - This value was introduced by Qt 5.7. - \value RemoteHostClosedError The remote device closed the connection. - This value was introduced by Qt 5.10. - \value AuthorizationError The local Bluetooth device closed the connection due to - insufficient authorization. - This value was introduced by Qt 5.14. + \value [since 5.5] ConnectionError The attempt to connect to the remote device failed. + \value [since 5.7] AdvertisingError The attempt to start advertising failed. + \value [since 5.10] RemoteHostClosedError The remote device closed the connection. + \value [since 5.14] AuthorizationError The local Bluetooth device closed the connection + due to insufficient authorization. \value [since 6.4] MissingPermissionsError The operating system requests permissions which were not granted by the user. @@ -187,8 +183,7 @@ Q_DECLARE_LOGGING_CATEGORY(QT_BT_ANDROID) \value DiscoveredState The controller has discovered all services offered by the remote device. \value ClosingState The controller is about to be disconnected from the remote device. - \value AdvertisingState The controller is currently advertising data. - This value was introduced by Qt 5.7. + \value [since 5.7] AdvertisingState The controller is currently advertising data. */ /*! |