summaryrefslogtreecommitdiff
path: root/daemon/settings.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2014-08-01 12:58:36 +0200
committerTomasz Sterna <tomek@xiaoka.com>2014-08-02 00:55:18 +0200
commit0fa2ca1ee1dec8d7355115426a762f9fe808f2f6 (patch)
tree663d80a1617fa856f4f0f5fb56f1200294ba9e0c /daemon/settings.h
parent006d08310e5fafa8b66520318598122603e32d8c (diff)
Implemented option to disable phone call forwarding to watch. closes #13
Diffstat (limited to 'daemon/settings.h')
-rw-r--r--daemon/settings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/settings.h b/daemon/settings.h
index 1f2e2e5..03423e4 100644
--- a/daemon/settings.h
+++ b/daemon/settings.h
@@ -8,6 +8,7 @@ class Settings : public MDConfGroup
Q_OBJECT
Q_PROPERTY(bool silentWhenConnected MEMBER silentWhenConnected NOTIFY silentWhenConnectedChanged)
+ Q_PROPERTY(bool incomingCallNotification MEMBER incomingCallNotification NOTIFY incomingCallNotificationChanged)
Q_PROPERTY(bool notificationsCommhistoryd MEMBER notificationsCommhistoryd NOTIFY notificationsCommhistorydChanged)
Q_PROPERTY(bool notificationsMissedCall MEMBER notificationsMissedCall NOTIFY notificationsMissedCallChanged)
Q_PROPERTY(bool notificationsEmails MEMBER notificationsEmails NOTIFY notificationsEmailsChanged)
@@ -17,6 +18,7 @@ class Settings : public MDConfGroup
Q_PROPERTY(bool notificationsOther MEMBER notificationsOther NOTIFY notificationsOtherChanged)
Q_PROPERTY(bool notificationsAll MEMBER notificationsAll NOTIFY notificationsAllChanged)
bool silentWhenConnected;
+ bool incomingCallNotification;
bool notificationsCommhistoryd;
bool notificationsMissedCall;
bool notificationsEmails;
@@ -33,6 +35,7 @@ public:
signals:
void silentWhenConnectedChanged(bool);
+ void incomingCallNotificationChanged(bool);
void notificationsCommhistorydChanged(bool);
void notificationsMissedCallChanged(bool);
void notificationsEmailsChanged(bool);