diff options
author | jan Iversen <jani@apache.org> | 2018-09-02 13:58:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:22:58 -0700 |
commit | c72add5721244cebbf38ea4c7daf1a8ae3198e3e (patch) | |
tree | 537b76cceedc2f8ece101912b83e6dfca6a22e76 /core/settings/qPrefFacebook.h | |
parent | 740fcce338a00e7ec8d1c4701229d46b5463b974 (diff) | |
download | subsurface-c72add5721244cebbf38ea4c7daf1a8ae3198e3e.tar.gz |
core/setting: change *_changed to *Changed for the sake of QML.
QML demands signals to be of the form
<name>Changed
Changing all of qPref
REMARK: this commit is not compileable, since it only change qPref and not
the rest of the system
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefFacebook.h')
-rw-r--r-- | core/settings/qPrefFacebook.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/settings/qPrefFacebook.h b/core/settings/qPrefFacebook.h index 0493b8ca9..fcd8f1f7c 100644 --- a/core/settings/qPrefFacebook.h +++ b/core/settings/qPrefFacebook.h @@ -8,9 +8,9 @@ class qPrefFacebook : public QObject { Q_OBJECT - Q_PROPERTY(QString access_token READ access_token WRITE set_access_token NOTIFY access_token_changed); - Q_PROPERTY(QString album_id READ album_id WRITE set_album_id NOTIFY album_id_changed); - Q_PROPERTY(QString user_id READ user_id WRITE set_user_id NOTIFY user_id_changed); + Q_PROPERTY(QString access_token READ access_token WRITE set_access_token NOTIFY access_tokenChanged); + Q_PROPERTY(QString album_id READ album_id WRITE set_album_id NOTIFY album_idChanged); + Q_PROPERTY(QString user_id READ user_id WRITE set_user_id NOTIFY user_idChanged); public: qPrefFacebook(QObject *parent = NULL); @@ -32,9 +32,9 @@ public slots: static void set_user_id(const QString& value); signals: - void access_token_changed(const QString& value); - void album_id_changed(const QString& value); - void user_id_changed(const QString& value); + void access_tokenChanged(const QString& value); + void album_idChanged(const QString& value); + void user_idChanged(const QString& value); private: static void disk_access_token(bool doSync); |