summaryrefslogtreecommitdiff
path: root/daemon/settings.h
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2015-01-03 16:38:02 +0100
committerTomasz Sterna <tomek@xiaoka.com>2015-01-03 19:07:48 +0100
commit4e7da1944f5fa75a0739c0757d40a8102f045365 (patch)
tree5f3fe179256536e4135eb4d5031a1d754af5e26c /daemon/settings.h
parent4150005566bec7827ce1cdd759a2397d47eba583 (diff)
parente6ec758b364fcaf9fda35e56740c3fcd7e8fe25e (diff)
Merge remote-tracking branch 'javispedro/js-testing'
Conflicts: daemon/daemon.pro daemon/dbusconnector.cpp daemon/manager.cpp daemon/watchcommands.cpp daemon/watchcommands.h daemon/watchconnector.cpp daemon/watchconnector.h log4qt-debug.conf log4qt-release.conf rpm/pebble.spec rpm/pebble.yaml
Diffstat (limited to 'daemon/settings.h')
-rw-r--r--daemon/settings.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/daemon/settings.h b/daemon/settings.h
index d6db9b6..90e25e2 100644
--- a/daemon/settings.h
+++ b/daemon/settings.h
@@ -18,6 +18,8 @@ class Settings : public MDConfGroup
Q_PROPERTY(bool notificationsFacebook MEMBER notificationsFacebook NOTIFY notificationsFacebookChanged)
Q_PROPERTY(bool notificationsOther MEMBER notificationsOther NOTIFY notificationsOtherChanged)
Q_PROPERTY(bool notificationsAll MEMBER notificationsAll NOTIFY notificationsAllChanged)
+ Q_PROPERTY(QString accountToken MEMBER accountToken NOTIFY accountTokenChanged)
+
bool silentWhenConnected;
bool transliterateMessage;
bool incomingCallNotification;
@@ -29,6 +31,7 @@ class Settings : public MDConfGroup
bool notificationsFacebook;
bool notificationsOther;
bool notificationsAll;
+ QString accountToken;
public:
explicit Settings(QObject *parent = 0) :
@@ -36,20 +39,18 @@ public:
{ resolveMetaObject(); }
signals:
- void silentWhenConnectedChanged(bool);
- void transliterateMessageChanged(bool);
- void incomingCallNotificationChanged(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:
-
+ void silentWhenConnectedChanged();
+ void transliterateMessageChanged();
+ void incomingCallNotificationChanged();
+ void notificationsCommhistorydChanged();
+ void notificationsMissedCallChanged();
+ void notificationsEmailsChanged();
+ void notificationsMitakuuluuChanged();
+ void notificationsTwitterChanged();
+ void notificationsFacebookChanged();
+ void notificationsOtherChanged();
+ void notificationsAllChanged();
+ void accountTokenChanged();
};
#endif // SETTINGS_H