summaryrefslogtreecommitdiff
path: root/daemon/settings.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-07-28 11:04:12 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-07-28 11:04:12 +0200
commit0ead71b6a9b5c49a4bdc055ce45bc8531b538a20 (patch)
tree21e92503bf004773625c6208f08a1c6b93182b96 /daemon/settings.h
parent05502a35e1b1bd10a4ba81d2974d5c41e6a1ef35 (diff)
parent5f3e8fd022e29d3014b4e0888f310a5ac512b467 (diff)
Merge pull request #12 from smurfy/notifications
Notifications via freedesktop.org interface snooping
Diffstat (limited to 'daemon/settings.h')
-rw-r--r--daemon/settings.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/daemon/settings.h b/daemon/settings.h
index 50ffd86..1f2e2e5 100644
--- a/daemon/settings.h
+++ b/daemon/settings.h
@@ -8,7 +8,23 @@ 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 notificationsTwitter MEMBER notificationsTwitter NOTIFY notificationsTwitterChanged)
+ Q_PROPERTY(bool notificationsFacebook MEMBER notificationsFacebook NOTIFY notificationsFacebookChanged)
+ 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 notificationsTwitter;
+ bool notificationsFacebook;
+ bool notificationsOther;
+ bool notificationsAll;
public:
explicit Settings(QObject *parent = 0) :
@@ -17,6 +33,14 @@ public:
signals:
void silentWhenConnectedChanged(bool);
+ void notificationsCommhistorydChanged(bool);
+ void notificationsMissedCallChanged(bool);
+ void notificationsEmailsChanged(bool);
+ void notificationsMitakuuluuChanged(bool);
+ void notificationsTwitterChanged(bool);
+ void notificationsFacebookChanged(bool);
+ void notificationsOtherChanged(bool);
+ void notificationsAllChanged(bool);
public slots: