diff options
Diffstat (limited to 'src/controller.h')
-rw-r--r-- | src/controller.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/controller.h b/src/controller.h index a375247..900f763 100644 --- a/src/controller.h +++ b/src/controller.h @@ -20,9 +20,11 @@ class Controller : public QObject Q_PROPERTY(bool batteryCharging READ batteryCharging NOTIFY batteryChargingChanged) public: - Controller(const QString &settingsPrefix, QQuickView *view = 0, QObject *parent = 0); + explicit Controller(const QString &settingsPrefix, QQuickView *view = 0, QObject *parent = 0); ~Controller(); + bool isWatchConnected() const; + MetaWatch::WatchMode mode() const; int page() const; @@ -38,7 +40,7 @@ signals: void batteryChargingChanged(); private: - void connectToAddress(const QString &address); + void connectToDevice(); void updateProperties(); private slots: |