summaryrefslogtreecommitdiff
path: root/daemon/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/settings.h')
-rw-r--r--daemon/settings.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/daemon/settings.h b/daemon/settings.h
index 688b211..3c38473 100644
--- a/daemon/settings.h
+++ b/daemon/settings.h
@@ -7,7 +7,8 @@ class Settings : public MDConfGroup
{
Q_OBJECT
- Q_PROPERTY(bool silentWhenConnected MEMBER silentWhenConnected NOTIFY silentWhenConnectedChanged)
+ Q_PROPERTY(QString profileWhenConnected MEMBER profileWhenConnected NOTIFY profileWhenConnectedChanged)
+ Q_PROPERTY(QString profileWhenDisconnected MEMBER profileWhenDisconnected NOTIFY profileWhenDisconnectedChanged)
Q_PROPERTY(bool transliterateMessage MEMBER transliterateMessage NOTIFY transliterateMessageChanged)
Q_PROPERTY(bool useSystemVolume MEMBER useSystemVolume NOTIFY useSystemVolumeChanged)
Q_PROPERTY(bool incomingCallNotification MEMBER incomingCallNotification NOTIFY incomingCallNotificationChanged)
@@ -21,7 +22,8 @@ class Settings : public MDConfGroup
Q_PROPERTY(bool notificationsAll MEMBER notificationsAll NOTIFY notificationsAllChanged)
Q_PROPERTY(QString accountToken MEMBER accountToken NOTIFY accountTokenChanged)
- bool silentWhenConnected;
+ QString profileWhenConnected;
+ QString profileWhenDisconnected;
bool transliterateMessage;
bool useSystemVolume;
bool incomingCallNotification;
@@ -41,7 +43,8 @@ public:
{ resolveMetaObject(); }
signals:
- void silentWhenConnectedChanged();
+ void profileWhenConnectedChanged();
+ void profileWhenDisconnectedChanged();
void transliterateMessageChanged();
void useSystemVolumeChanged();
void incomingCallNotificationChanged();