diff options
author | Michael Zanetti <michael.zanetti@nokia.com> | 2012-06-11 16:28:36 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-13 10:25:27 +0200 |
commit | a680298df3109fe548b8744ba339de75addf8081 (patch) | |
tree | 2752123fbe7433f7a575ec449ff0e08797b6cce7 /src/bluetooth/qbluetoothlocaldevice.cpp | |
parent | 623ad8a15286e4bdb879609ed9d0147db0a6d06a (diff) |
clarify Bluetooth power situation in docs
add a note to docs that powering Bluetooth on and off might behave differently on different platforms
Change-Id: I461aa651c21e07bcd56a7c7e7eca9c73084d81d7
Reviewed-by: Alex <alex.blasche@nokia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothlocaldevice.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice.cpp b/src/bluetooth/qbluetoothlocaldevice.cpp index 2abab9ca..8c87a2fa 100644 --- a/src/bluetooth/qbluetoothlocaldevice.cpp +++ b/src/bluetooth/qbluetoothlocaldevice.cpp @@ -138,6 +138,9 @@ bool QBluetoothLocalDevice::isValid() const \fn void QBluetoothLocalDevice::setHostMode(QBluetoothLocalDevice::HostMode mode) Sets the host mode of this local Bluetooth device to \a mode. + NOTE: Due to security policies of platforms, this method may behave different on different platforms. For example + the system can ask the user for confirmation before turning Bluetooth on or off. Not all host modes may be + supported on all platforms. Please refer to the platform specific Bluetooth documentation for details. */ /*! @@ -168,6 +171,9 @@ bool QBluetoothLocalDevice::isValid() const \fn QBluetoothLocalDevice::powerOn() Powers on the device after returning it to the hostMode() state, if it was powered off. + NOTE: Due to security policies of platforms, this method may behave different on different platforms. For example + the system can ask the user for confirmation before turning Bluetooth on or off. + Please refer to the platform specific Bluetooth documentation for details. */ /*! |