From 9df90e731612efe1cd9a69ae114f566c464e3e3a Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Sun, 14 Feb 2016 00:35:55 +0100 Subject: Revived old Bluez4 code from r50. --- rockworkd/libpebble/bluez/bluezclient.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'rockworkd/libpebble/bluez/bluezclient.h') diff --git a/rockworkd/libpebble/bluez/bluezclient.h b/rockworkd/libpebble/bluez/bluezclient.h index f8e5749..cbe7c0f 100644 --- a/rockworkd/libpebble/bluez/bluezclient.h +++ b/rockworkd/libpebble/bluez/bluezclient.h @@ -11,7 +11,7 @@ #include "bluez_adapter1.h" #include "bluez_agentmanager1.h" -class Device { +class BluezDevice { public: QBluetoothAddress address; QString name; @@ -26,14 +26,15 @@ public: BluezClient(QObject *parent = 0); - QList pairedPebbles() const; + QList pairedPebbles() const; private slots: void addDevice(const QDBusObjectPath &path, const QVariantMap &properties); void slotInterfacesAdded(const QDBusObjectPath&path, InterfaceList ifaces); - void slotInterfacesRemoved(const QDBusObjectPath&path, const QStringList &ifaces); - + void slotDevicePairingDone(bool success); + void slotInterfacesRemoved(const QDBusObjectPath&path, const QStringList &ifaces); + signals: void devicesChanged(); @@ -45,7 +46,7 @@ private: FreeDesktopProperties *m_bluezAdapterProperties = nullptr; - QHash m_devices; + QHash m_devices; }; #endif // BLUEZCLIENT_H -- cgit v1.2.3