diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-12 01:13:04 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-12 01:13:04 +0200 |
| commit | 4d55e3d01c1c75a979ad6f53ac18648fc90c6934 (patch) | |
| tree | f4b169bc70a13c644ec7da4d5c995ad367999c10 /app/pebbledinterface.h | |
| parent | c84773de3af76832d15806647d8529c2e5b75257 (diff) | |
Reworked PebbledInterface DBus handling
Diffstat (limited to 'app/pebbledinterface.h')
| -rw-r--r-- | app/pebbledinterface.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/pebbledinterface.h b/app/pebbledinterface.h index eccc766..df9cd3d 100644 --- a/app/pebbledinterface.h +++ b/app/pebbledinterface.h @@ -10,7 +10,9 @@ class PebbledInterface : public QObject Q_OBJECT static QString PEBBLED_SYSTEMD_UNIT; - static QString SYSTEMD_UNIT_IFACE; + static QString PEBBLED_DBUS_SERVICE; + static QString PEBBLED_DBUS_PATH; + static QString PEBBLED_DBUS_IFACE; Q_PROPERTY(bool enabled READ enabled WRITE setEnabled NOTIFY enabledChanged) bool enabled() const; @@ -58,7 +60,7 @@ private slots: private: QDBusInterface *pebbled; QDBusInterface *systemd; - QDBusInterface *unitprops; + QDBusObjectPath unitPath; QVariantMap properties; }; |
