From ef6de7d737daa42c3390a0393e77044e91df9ae1 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 15 Jan 2014 15:04:24 +0100 Subject: Document a somewhat peculiar signal behavior mismatch during Bt discovery Change-Id: I8f9ac85e7753a9d6142bbefcd0e4bcda09e0f3d8 Reviewed-by: Fabian Bumberger --- src/bluetooth/qbluetoothservicediscoveryagent.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/bluetooth/qbluetoothservicediscoveryagent.cpp') diff --git a/src/bluetooth/qbluetoothservicediscoveryagent.cpp b/src/bluetooth/qbluetoothservicediscoveryagent.cpp index eec9894f..6f45136a 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent.cpp +++ b/src/bluetooth/qbluetoothservicediscoveryagent.cpp @@ -107,14 +107,18 @@ QT_BEGIN_NAMESPACE /*! \fn QBluetoothServiceDiscoveryAgent::finished() - This signal is emitted when Bluetooth service discovery completes. This signal will even - be emitted when an error occurred during the service discovery. + This signal is emitted when the Bluetooth service discovery completes. + + Unlike the \l QBluetoothDeviceDiscoveryAgent::finished() signal this + signal will even be emitted when an error occurred during the service discovery. Therefore + it is recommended to check the \l error() signal to evaluate the success of the + service discovery discovery. */ /*! \fn void QBluetoothServiceDiscoveryAgent::error(QBluetoothServiceDiscoveryAgent::Error error) - This signal is emitted when an error occurs. The \a error parameter describes the error that + This signal is emitted when an \a error occurs. The \a error parameter describes the error that occurred. */ -- cgit v1.2.1