diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-18 23:47:12 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-18 23:47:12 +0200 |
| commit | cfd11bb46b0e93903135c127b955e657d7f2b33d (patch) | |
| tree | 079210e2976317a3296d6b73f9ab641e74c38910 /daemon/settings.h | |
| parent | 1658511121c569f68e649fa84c7743f9c5463c5a (diff) | |
Implemented settings skeleton and notifications
Diffstat (limited to 'daemon/settings.h')
| -rw-r--r-- | daemon/settings.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/daemon/settings.h b/daemon/settings.h new file mode 100644 index 0000000..50ffd86 --- /dev/null +++ b/daemon/settings.h @@ -0,0 +1,25 @@ +#ifndef SETTINGS_H +#define SETTINGS_H + +#include <MDConfGroup> + +class Settings : public MDConfGroup +{ + Q_OBJECT + + Q_PROPERTY(bool silentWhenConnected MEMBER silentWhenConnected NOTIFY silentWhenConnectedChanged) + bool silentWhenConnected; + +public: + explicit Settings(QObject *parent = 0) : + MDConfGroup("/org/pebbled/settings", parent, BindProperties) + { resolveMetaObject(); } + +signals: + void silentWhenConnectedChanged(bool); + +public slots: + +}; + +#endif // SETTINGS_H |
