summaryrefslogtreecommitdiffstats
path: root/src/bluetoothsettings/bluez/bluetoothdevice_p.h
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-12-15 17:02:42 +0200
committerSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-12-19 10:03:53 +0000
commit057921868881295c0128204f2f4e53956b0a3d3c (patch)
tree9738ecdcca5fc9310b1ee5cfadd13bb5da85d829 /src/bluetoothsettings/bluez/bluetoothdevice_p.h
parent44d7f1865af8a8b4491f2d272f9e8e16f09c741b (diff)
Use connman with bluetooth only if networksettings are available
Task-number: QTBUG-64693 Change-Id: Id2ce5342a0749d123a499c6c519d5ae2e6c3cae9 Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'src/bluetoothsettings/bluez/bluetoothdevice_p.h')
-rw-r--r--src/bluetoothsettings/bluez/bluetoothdevice_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bluetoothsettings/bluez/bluetoothdevice_p.h b/src/bluetoothsettings/bluez/bluetoothdevice_p.h
index 0c32a2f..0e1777e 100644
--- a/src/bluetoothsettings/bluez/bluetoothdevice_p.h
+++ b/src/bluetoothsettings/bluez/bluetoothdevice_p.h
@@ -48,7 +48,10 @@
// Automatically generated classes in global namespace
class OrgBluezDevice1Interface;
class OrgFreedesktopDBusObjectManagerInterface;
+
+#ifdef USE_CONNMAN_BLUETOOTH
class NetConnmanTechnologyInterface;
+#endif
QT_BEGIN_NAMESPACE
@@ -92,7 +95,10 @@ private:
QString m_adapter;
DiscoveryModel *m_deviceModel;
OrgFreedesktopDBusObjectManagerInterface *m_manager;
+
+#ifdef USE_CONNMAN_BLUETOOTH
NetConnmanTechnologyInterface *m_technology;
+#endif
};
QT_END_NAMESPACE