diff options
| author | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-18 23:36:05 +0200 |
|---|---|---|
| committer | Tomasz Sterna <tomek@xiaoka.com> | 2014-07-18 23:36:05 +0200 |
| commit | c47315faa12bbb36772c3f5897751bf74fa122f4 (patch) | |
| tree | 44af2798b72218e314d2027ceb81dad9d5019e6f /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 |
