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/qPrefUpdateManager.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/qPrefUpdateManager.h')
-rw-r--r-- | core/settings/qPrefUpdateManager.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/settings/qPrefUpdateManager.h b/core/settings/qPrefUpdateManager.h index 151c2edc4..ee62f0349 100644 --- a/core/settings/qPrefUpdateManager.h +++ b/core/settings/qPrefUpdateManager.h @@ -8,11 +8,11 @@ class qPrefUpdateManager : public QObject { Q_OBJECT - Q_PROPERTY(bool dont_check_for_updates READ dont_check_for_updates WRITE set_dont_check_for_updates NOTIFY dont_check_for_updates_changed); - Q_PROPERTY(bool dont_check_exists READ dont_check_exists WRITE set_dont_check_exists NOTIFY dont_check_exists_changed); - Q_PROPERTY(const QString last_version_used READ last_version_used WRITE set_last_version_used NOTIFY last_version_used_changed); - Q_PROPERTY(const QDate next_check READ next_check WRITE set_next_check NOTIFY next_check_changed); - Q_PROPERTY(const QString uuidString READ uuidString WRITE set_uuidString NOTIFY uuidString_changed); + Q_PROPERTY(bool dont_check_for_updates READ dont_check_for_updates WRITE set_dont_check_for_updates NOTIFY dont_check_for_updatesChanged); + Q_PROPERTY(bool dont_check_exists READ dont_check_exists WRITE set_dont_check_exists NOTIFY dont_check_existsChanged); + Q_PROPERTY(const QString last_version_used READ last_version_used WRITE set_last_version_used NOTIFY last_version_usedChanged); + Q_PROPERTY(const QDate next_check READ next_check WRITE set_next_check NOTIFY next_checkChanged); + Q_PROPERTY(const QString uuidString READ uuidString WRITE set_uuidString NOTIFY uuidStringChanged); public: qPrefUpdateManager(QObject *parent = NULL); @@ -38,11 +38,11 @@ public slots: static void set_uuidString(const QString& value); signals: - void dont_check_for_updates_changed(bool value); - void dont_check_exists_changed(bool value); - void last_version_used_changed(const QString& value); - void next_check_changed(const QDate& value); - void uuidString_changed(const QString& value); + void dont_check_for_updatesChanged(bool value); + void dont_check_existsChanged(bool value); + void last_version_usedChanged(const QString& value); + void next_checkChanged(const QDate& value); + void uuidStringChanged(const QString& value); private: static void disk_dont_check_for_updates(bool doSync); |