diff options
| author | Philipp Andreas <github@smurfy.de> | 2014-07-22 22:18:00 +0200 |
|---|---|---|
| committer | Philipp Andreas <github@smurfy.de> | 2014-07-22 22:18:00 +0200 |
| commit | 3c1e7d693aad55658c4d6d3b061b3368fd145610 (patch) | |
| tree | 1cc6b732c6f42a1162f6b9ac056ae7537587ba32 /daemon/settings.h | |
| parent | ee7c3abcc960f5d4fd8686f3f3478c6f77e39b82 (diff) | |
Adding settings for notifications
Diffstat (limited to 'daemon/settings.h')
| -rw-r--r-- | daemon/settings.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/daemon/settings.h b/daemon/settings.h index 50ffd86..c685c31 100644 --- a/daemon/settings.h +++ b/daemon/settings.h @@ -8,7 +8,19 @@ class Settings : public MDConfGroup Q_OBJECT Q_PROPERTY(bool silentWhenConnected MEMBER silentWhenConnected NOTIFY silentWhenConnectedChanged) + Q_PROPERTY(bool notificationsCommhistoryd MEMBER notificationsCommhistoryd NOTIFY notificationsCommhistorydChanged) + Q_PROPERTY(bool notificationsMissedCall MEMBER notificationsMissedCall NOTIFY notificationsMissedCallChanged) + Q_PROPERTY(bool notificationsEmails MEMBER notificationsEmails NOTIFY notificationsEmailsChanged) + Q_PROPERTY(bool notificationsMitakuuluu MEMBER notificationsMitakuuluu NOTIFY notificationsMitakuuluuChanged) + Q_PROPERTY(bool notificationsOther MEMBER notificationsOther NOTIFY notificationsOtherChanged) + Q_PROPERTY(bool notificationsAll MEMBER notificationsAll NOTIFY notificationsAllChanged) bool silentWhenConnected; + bool notificationsCommhistoryd; + bool notificationsMissedCall; + bool notificationsEmails; + bool notificationsMitakuuluu; + bool notificationsOther; + bool notificationsAll; public: explicit Settings(QObject *parent = 0) : @@ -17,6 +29,12 @@ public: signals: void silentWhenConnectedChanged(bool); + void notificationsCommhistorydChanged(bool); + void notificationsMissedCallChanged(bool); + void notificationsEmailsChanged(bool); + void notificationsMitakuuluuChanged(bool); + void notificationsOtherChanged(bool); + void notificationsAllChanged(bool); public slots: |
