summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefLocationService.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/qPrefLocationService.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/qPrefLocationService.h')
-rw-r--r--core/settings/qPrefLocationService.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/settings/qPrefLocationService.h b/core/settings/qPrefLocationService.h
index 676f2bbf8..6fdca8385 100644
--- a/core/settings/qPrefLocationService.h
+++ b/core/settings/qPrefLocationService.h
@@ -8,8 +8,8 @@
class qPrefLocationService : public QObject {
Q_OBJECT
- Q_PROPERTY(int distance_threshold READ distance_threshold WRITE set_distance_threshold NOTIFY distance_threshold_changed);
- Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_threshold_changed);
+ Q_PROPERTY(int distance_threshold READ distance_threshold WRITE set_distance_threshold NOTIFY distance_thresholdChanged);
+ Q_PROPERTY(int time_threshold READ time_threshold WRITE set_time_threshold NOTIFY time_thresholdChanged);
public:
qPrefLocationService(QObject *parent = NULL);
@@ -29,8 +29,8 @@ public slots:
static void set_time_threshold(int value);
signals:
- void distance_threshold_changed(int value);
- void time_threshold_changed(int value);
+ void distance_thresholdChanged(int value);
+ void time_thresholdChanged(int value);
private: