diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-07-20 13:16:52 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-07-25 05:52:15 +0000 |
commit | 71a0d199a29001cc31bfde15aabcc53cf88aae1e (patch) | |
tree | 73e6cb25a509102474cd8126fa559a0467e9a6b7 | |
parent | 09d30048e6cf8a86507bda1872fd7d9f653ec9ed (diff) | |
download | qtconnectivity-71a0d199a29001cc31bfde15aabcc53cf88aae1e.tar.gz |
Document the meaning of QBluetoothDeviceInfo::minorDeviceClass()
A naming inconsistency was discovered and a related Qt 6 TODO was added.
Change-Id: I171f8480009a3fc8c3ddc39cc2da03cf4a6eb9db
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
-rw-r--r-- | src/bluetooth/qbluetoothdeviceinfo.cpp | 7 | ||||
-rw-r--r-- | src/bluetooth/qbluetoothdeviceinfo.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothdeviceinfo.cpp b/src/bluetooth/qbluetoothdeviceinfo.cpp index 7d5d8f0c..f6002a30 100644 --- a/src/bluetooth/qbluetoothdeviceinfo.cpp +++ b/src/bluetooth/qbluetoothdeviceinfo.cpp @@ -498,7 +498,12 @@ QBluetoothDeviceInfo::MajorDeviceClass QBluetoothDeviceInfo::majorDeviceClass() } /*! - Returns the minor device class of the device. + Returns the minor device class of the device. The actual information + is context dependent on the value of \l majorDeviceClass(). + + \sa MinorAudioVideoClass, MinorComputerClass, MinorHealthClass, MinorImagingClass, + MinorMiscellaneousClass, MinorNetworkClass, MinorPeripheralClass, MinorPhoneClass, + MinorToyClass, MinorWearableClass */ quint8 QBluetoothDeviceInfo::minorDeviceClass() const { diff --git a/src/bluetooth/qbluetoothdeviceinfo.h b/src/bluetooth/qbluetoothdeviceinfo.h index a39b593f..b0f0a592 100644 --- a/src/bluetooth/qbluetoothdeviceinfo.h +++ b/src/bluetooth/qbluetoothdeviceinfo.h @@ -52,7 +52,7 @@ public: MiscellaneousDevice = 0, ComputerDevice = 1, PhoneDevice = 2, - LANAccessDevice = 3, + LANAccessDevice = 3, // TODO Qt 6 rename to NetworkDevice -> inconsistency with MinorNetworkClass AudioVideoDevice = 4, PeripheralDevice = 5, ImagingDevice = 6, |