summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-01-22 16:41:57 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-24 12:42:23 +0100
commitc87ab8b4b1a9017878cf4257e056a0baa2af5012 (patch)
tree1c4586425fd62a73d774f2d2b8f86a93bdc2bb36 /src
parent90e2f8bc28f103080f25612fbc07a0652705a171 (diff)
Remove const modifier from QBluetoothLocalDevice signals.
Those signals were added in 5.3 and therefore it is still possible to change them. At the same time fix the documentation for the signals and its related function Change-Id: Ide0f7b07cf624f9692f830a2534b224212da223a Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/qbluetoothlocaldevice.cpp6
-rw-r--r--src/bluetooth/qbluetoothlocaldevice.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice.cpp b/src/bluetooth/qbluetoothlocaldevice.cpp
index da3c4fa7..fe13a2de 100644
--- a/src/bluetooth/qbluetoothlocaldevice.cpp
+++ b/src/bluetooth/qbluetoothlocaldevice.cpp
@@ -187,21 +187,21 @@ bool QBluetoothLocalDevice::isValid() const
*/
/*!
- \fn void QBluetoothLocalDevice::deviceConnected(const QBluetoothAddress &address)
+ \fn QBluetoothLocalDevice::deviceConnected(const QBluetoothAddress &address)
\since 5.3
A device with \a address is connected with this device.
*/
/*!
- \fn void QBluetoothLocalDevice::deviceDisconnected(const QBluetoothAddress &address)
+ \fn QBluetoothLocalDevice::deviceDisconnected(const QBluetoothAddress &address)
\since 5.3
A device with \a address is disconnected from this device.
*/
/*!
- \fn QList<QBluetoothAddress> connectedDevices() const
+ \fn QList<QBluetoothAddress> QBluetoothLocalDevice::connectedDevices() const
\since 5.3
Returns the list of connected devices.
diff --git a/src/bluetooth/qbluetoothlocaldevice.h b/src/bluetooth/qbluetoothlocaldevice.h
index caf2f050..597496b7 100644
--- a/src/bluetooth/qbluetoothlocaldevice.h
+++ b/src/bluetooth/qbluetoothlocaldevice.h
@@ -105,8 +105,8 @@ public Q_SLOTS:
Q_SIGNALS:
void hostModeStateChanged(QBluetoothLocalDevice::HostMode state);
- void deviceConnected(const QBluetoothAddress &address) const;
- void deviceDisconnected(const QBluetoothAddress &address) const;
+ void deviceConnected(const QBluetoothAddress &address);
+ void deviceDisconnected(const QBluetoothAddress &address);
void pairingFinished(const QBluetoothAddress &address, QBluetoothLocalDevice::Pairing pairing);
void pairingDisplayPinCode(const QBluetoothAddress &address, QString pin);