summaryrefslogtreecommitdiff
path: root/daemon/settings.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-04-19 18:49:07 +0200
committerTomasz Sterna <tomek@xiaoka.com>2015-04-19 18:49:07 +0200
commit929fc1263bf54df5120c8551a5b9cecd053d87ea (patch)
treed6293c4a69d8563eff90f76b9eb69a4a42d5a3cb /daemon/settings.h
parentec074ada19ed8855a8006ca66c709a8303906932 (diff)
parent6da5f1039ed113dcf11b0347e6d2dbd5432c3d33 (diff)
Merge pull request #50 from abranson/volume
Switch music volume controls to alter the system volume.
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 90e25e2..688b211 100644
--- a/daemon/settings.h
+++ b/daemon/settings.h
@@ -9,6 +9,7 @@ class Settings : public MDConfGroup
Q_PROPERTY(bool silentWhenConnected MEMBER silentWhenConnected NOTIFY silentWhenConnectedChanged)
Q_PROPERTY(bool transliterateMessage MEMBER transliterateMessage NOTIFY transliterateMessageChanged)
+ Q_PROPERTY(bool useSystemVolume MEMBER useSystemVolume NOTIFY useSystemVolumeChanged)
Q_PROPERTY(bool incomingCallNotification MEMBER incomingCallNotification NOTIFY incomingCallNotificationChanged)
Q_PROPERTY(bool notificationsCommhistoryd MEMBER notificationsCommhistoryd NOTIFY notificationsCommhistorydChanged)
Q_PROPERTY(bool notificationsMissedCall MEMBER notificationsMissedCall NOTIFY notificationsMissedCallChanged)
@@ -22,6 +23,7 @@ class Settings : public MDConfGroup
bool silentWhenConnected;
bool transliterateMessage;
+ bool useSystemVolume;
bool incomingCallNotification;
bool notificationsCommhistoryd;
bool notificationsMissedCall;
@@ -41,6 +43,7 @@ public:
signals:
void silentWhenConnectedChanged();
void transliterateMessageChanged();
+ void useSystemVolumeChanged();
void incomingCallNotificationChanged();
void notificationsCommhistorydChanged();
void notificationsMissedCallChanged();