From c72add5721244cebbf38ea4c7daf1a8ae3198e3e Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 2 Sep 2018 13:58:04 +0200 Subject: core/setting: change *_changed to *Changed for the sake of QML. QML demands signals to be of the form 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 --- core/settings/qPrefUpdateManager.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'core/settings/qPrefUpdateManager.h') 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); -- cgit v1.2.3-70-g09d2