summaryrefslogtreecommitdiffstats
path: root/src/bluetoothsettings/discoverymodel.h
diff options
context:
space:
mode:
authorTeemu Holappa <teemu.holappa@qt.io>2017-02-27 10:24:53 +0200
committerTeemu Holappa <teemu.holappa@qt.io>2017-05-03 06:32:17 +0000
commit48fb704e64300387f99c4192436728858c8aa4f8 (patch)
tree1891c25100a6cdf0f1260c0c5ca1f469887828c8 /src/bluetoothsettings/discoverymodel.h
parent314de829065a3fa411b8fed90ff1289b000e229b (diff)
Fix issue when no Bluetooth device is available
Added async scan of the bluetooth adapter. Done some cleanup to the public class. Task-number: QTBUG-57676 Change-Id: Ia845f2f8c18fb8272160167482e5124c0b43fee7 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'src/bluetoothsettings/discoverymodel.h')
-rw-r--r--src/bluetoothsettings/discoverymodel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetoothsettings/discoverymodel.h b/src/bluetoothsettings/discoverymodel.h
index 75d93bc..ba6e1dd 100644
--- a/src/bluetoothsettings/discoverymodel.h
+++ b/src/bluetoothsettings/discoverymodel.h
@@ -100,6 +100,7 @@ public:
QHash<int, QByteArray> roleNames() const;
void setConnected(const QString& aAddress, bool connected);
void scanDevices();
+ void stopScanning();
enum Roles {
Name = Qt::UserRole,