diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-10-17 13:04:45 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-10-17 13:55:46 +0200 |
commit | d6c4d74f4f32699a013705d492ee467ec5006df1 (patch) | |
tree | 9ffeaaa124986049fd5b6a992f61b26b35badd10 /src/bluetooth/qbluetoothdevicediscoveryagent_p.h | |
parent | e26edb020084554e8b567d3bc15ce638394cf7fc (diff) | |
parent | 125cdccc346903d6e70ed26289cdaed85e26ec3f (diff) |
Merge remote-tracking branch 'gerrit/dev' into win
Change-Id: I28ee9f95cc0fb85a36b5bd7b2ad87e0179446995
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_p.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h index 9eadfae4..a1135bf1 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h @@ -83,12 +83,12 @@ QT_END_NAMESPACE #include <QtConcurrent> #endif +QT_BEGIN_NAMESPACE + #ifdef QT_WINRT_BLUETOOTH class QWinRTBluetoothDeviceDiscoveryWorker; #endif -QT_BEGIN_NAMESPACE - class QBluetoothDeviceDiscoveryAgentPrivate #if defined(QT_ANDROID_BLUETOOTH) || defined(QT_WINRT_BLUETOOTH) || defined(QT_WIN_BLUETOOTH) : public QObject @@ -158,7 +158,7 @@ private: QList<OrgFreedesktopDBusPropertiesInterface *> propertyMonitors; void deviceFoundBluez5(const QString& devicePath); - void startBluez5(); + void startBluez5(QBluetoothDeviceDiscoveryAgent::DiscoveryMethods methods); bool useExtendedDiscovery; QTimer extendedDiscoveryTimer; @@ -193,7 +193,6 @@ private: private slots: void registerDevice(const QBluetoothDeviceInfo &info); void onScanFinished(); - void onScanCanceled(); private: void disconnectAndClearWorker(); |