diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-08-31 14:39:56 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-09-03 07:44:44 +0000 |
commit | 2b2d30a31bb43e87b83d88d6541f20ba16ff0308 (patch) | |
tree | aeec5641d59744ebac5eb269094f236c61c2b950 /src/bluetooth/qbluetoothdeviceinfo.cpp | |
parent | 7ed64c596c53d6b9081ddd8258adb091b761390f (diff) |
Improve QBluetoothDeviceInfo::deviceUuid() documentation
The device uuuid is only used on OS X and iOS.
QBluetoothDeviceInfo::setDeviceUuid() already stated this limitation.
The getter function was not. This patch fixes the oversight.
Change-Id: I900b885c922b4248abe6f60fe38deea952605bf8
Task-number: QTBUG-48022
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qbluetoothdeviceinfo.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothdeviceinfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdeviceinfo.cpp b/src/bluetooth/qbluetoothdeviceinfo.cpp index 37ba4e11..0a66c2c2 100644 --- a/src/bluetooth/qbluetoothdeviceinfo.cpp +++ b/src/bluetooth/qbluetoothdeviceinfo.cpp @@ -614,6 +614,11 @@ void QBluetoothDeviceInfo::setDeviceUuid(const QBluetoothUuid &uuid) /*! Returns a unique identifier for a Bluetooth device without an address. + In general, this uuid is invalid on every platform but OS X and iOS. + It is used as a workaround for those two platforms as they do not + provide Bluetooth addresses for found Bluetooth Low Energy devices. + Every other platform uses \l address() instead. + \sa setDeviceUuid() \since 5.5 */ |