summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothsocket_bluezdbus_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2018-07-23 13:13:49 +0200
committerAlex Blasche <alexander.blasche@qt.io>2018-07-25 11:16:30 +0000
commite84d9f24cbb7c686535cbe7e13f28a1c0baaa48d (patch)
treeaba4b661532d1843706b15b17f92e328a9ab70bb /src/bluetooth/qbluetoothsocket_bluezdbus_p.h
parent81de083e4f9fdee7f1ef7d2fffc7d2147ddbc1b0 (diff)
Move QBluetoothSocket::connectToService() to private implementations
This permits each platform to customize the implementations without the need for ifdefs. Upcoming changes such as the BLuez DBuS addition will increase the platform differences. Task-number: QTBUG-68550 Change-Id: I8fc9a74d3ce704466f0bf2c16287e32f222c4376 Reviewed-by: Lubomir I. Ivanov <neolit123@gmail.com> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothsocket_bluezdbus_p.h')
-rw-r--r--src/bluetooth/qbluetoothsocket_bluezdbus_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothsocket_bluezdbus_p.h b/src/bluetooth/qbluetoothsocket_bluezdbus_p.h
index 6a91d25b..3390566d 100644
--- a/src/bluetooth/qbluetoothsocket_bluezdbus_p.h
+++ b/src/bluetooth/qbluetoothsocket_bluezdbus_p.h
@@ -67,6 +67,13 @@ public:
quint16 port,
QIODevice::OpenMode openMode);
+ void connectToService(const QBluetoothServiceInfo &service,
+ QIODevice::OpenMode openMode);
+ void connectToService(const QBluetoothAddress &address, const QBluetoothUuid &uuid,
+ QIODevice::OpenMode openMode);
+ void connectToService(const QBluetoothAddress &address, quint16 port,
+ QIODevice::OpenMode openMode);
+
bool ensureNativeSocket(QBluetoothServiceInfo::Protocol type);
QString localName() const;