summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefGeocoding.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-02 13:58:04 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:22:58 -0700
commitc72add5721244cebbf38ea4c7daf1a8ae3198e3e (patch)
tree537b76cceedc2f8ece101912b83e6dfca6a22e76 /core/settings/qPrefGeocoding.h
parent740fcce338a00e7ec8d1c4701229d46b5463b974 (diff)
downloadsubsurface-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/qPrefGeocoding.h')
-rw-r--r--core/settings/qPrefGeocoding.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/settings/qPrefGeocoding.h b/core/settings/qPrefGeocoding.h
index 03c9f59c8..3ed3fb034 100644
--- a/core/settings/qPrefGeocoding.h
+++ b/core/settings/qPrefGeocoding.h
@@ -8,9 +8,9 @@
class qPrefGeocoding : public QObject {
Q_OBJECT
- Q_PROPERTY(taxonomy_category first_taxonomy_category READ first_taxonomy_category WRITE set_first_taxonomy_category NOTIFY first_taxonomy_category_changed);
- Q_PROPERTY(taxonomy_category second_taxonomy_category READ second_taxonomy_category WRITE set_second_taxonomy_category NOTIFY second_taxonomy_category_changed);
- Q_PROPERTY(taxonomy_category third_taxonomy_category READ third_taxonomy_category WRITE set_third_taxonomy_category NOTIFY third_taxonomy_category_changed);
+ Q_PROPERTY(taxonomy_category first_taxonomy_category READ first_taxonomy_category WRITE set_first_taxonomy_category NOTIFY first_taxonomy_categoryChanged);
+ Q_PROPERTY(taxonomy_category second_taxonomy_category READ second_taxonomy_category WRITE set_second_taxonomy_category NOTIFY second_taxonomy_categoryChanged);
+ Q_PROPERTY(taxonomy_category third_taxonomy_category READ third_taxonomy_category WRITE set_third_taxonomy_category NOTIFY third_taxonomy_categoryChanged);
public:
qPrefGeocoding(QObject *parent = NULL);
@@ -32,9 +32,9 @@ public slots:
static void set_third_taxonomy_category(taxonomy_category value);
signals:
- void first_taxonomy_category_changed(taxonomy_category value);
- void second_taxonomy_category_changed(taxonomy_category value);
- void third_taxonomy_category_changed(taxonomy_category value);
+ void first_taxonomy_categoryChanged(taxonomy_category value);
+ void second_taxonomy_categoryChanged(taxonomy_category value);
+ void third_taxonomy_categoryChanged(taxonomy_category value);
private:
static void disk_first_taxonomy_category(bool doSync);