mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
740fcce338
commit
c72add5721
22 changed files with 302 additions and 302 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue