summaryrefslogtreecommitdiff
path: root/daemon/settings.h
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2015-04-19 18:17:02 +0200
committerAndrew Branson <andrew.branson@cern.ch>2015-04-19 18:17:02 +0200
commit6da5f1039ed113dcf11b0347e6d2dbd5432c3d33 (patch)
treedd48e39b01ff098c9e1059acceb0b36127f15b37 /daemon/settings.h
parent8bb7a35eedd431f707ca6fb9134c35bace8e4b24 (diff)
Support option for system volume control
Add support for direct PulseAudio volume control instead of through MPRIS, which doesn't currently work. Default enabled, added setting to disable.
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();