summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefPartialPressureGas.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/qPrefPartialPressureGas.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/qPrefPartialPressureGas.h')
-rw-r--r--core/settings/qPrefPartialPressureGas.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/core/settings/qPrefPartialPressureGas.h b/core/settings/qPrefPartialPressureGas.h
index c87711658..2f20d980e 100644
--- a/core/settings/qPrefPartialPressureGas.h
+++ b/core/settings/qPrefPartialPressureGas.h
@@ -7,13 +7,13 @@
class qPrefPartialPressureGas : public QObject {
Q_OBJECT
- Q_PROPERTY(bool phe READ phe WRITE set_phe NOTIFY phe_changed);
- Q_PROPERTY(double phe_threshold READ phe_threshold WRITE set_phe_threshold NOTIFY phe_threshold_changed);
- Q_PROPERTY(bool pn2 READ pn2 WRITE set_pn2 NOTIFY pn2_changed);
- Q_PROPERTY(double pn2_threshold READ pn2_threshold WRITE set_pn2_threshold NOTIFY pn2_threshold_changed);
- Q_PROPERTY(bool po2 READ po2 WRITE set_po2 NOTIFY po2_changed);
- Q_PROPERTY(double po2_threshold_max READ po2_threshold_max WRITE set_po2_threshold_max NOTIFY po2_threshold_max_changed);
- Q_PROPERTY(double po2_threshold_min READ po2_threshold_min WRITE set_po2_threshold_min NOTIFY po2_threshold_min_changed);
+ Q_PROPERTY(bool phe READ phe WRITE set_phe NOTIFY pheChanged);
+ Q_PROPERTY(double phe_threshold READ phe_threshold WRITE set_phe_threshold NOTIFY phe_thresholdChanged);
+ Q_PROPERTY(bool pn2 READ pn2 WRITE set_pn2 NOTIFY pn2Changed);
+ Q_PROPERTY(double pn2_threshold READ pn2_threshold WRITE set_pn2_threshold NOTIFY pn2_thresholdChanged);
+ Q_PROPERTY(bool po2 READ po2 WRITE set_po2 NOTIFY po2Changed);
+ Q_PROPERTY(double po2_threshold_max READ po2_threshold_max WRITE set_po2_threshold_max NOTIFY po2_threshold_maxChanged);
+ Q_PROPERTY(double po2_threshold_min READ po2_threshold_min WRITE set_po2_threshold_min NOTIFY po2_threshold_minChanged);
public:
qPrefPartialPressureGas(QObject *parent = NULL);
@@ -43,13 +43,13 @@ public slots:
static void set_po2_threshold_max(double value);
signals:
- void phe_changed(bool value);
- void phe_threshold_changed(double value);
- void pn2_changed(bool value);
- void pn2_threshold_changed(double value);
- void po2_changed(bool value);
- void po2_threshold_max_changed(double value);
- void po2_threshold_min_changed(double value);
+ void pheChanged(bool value);
+ void phe_thresholdChanged(double value);
+ void pn2Changed(bool value);
+ void pn2_thresholdChanged(double value);
+ void po2Changed(bool value);
+ void po2_threshold_maxChanged(double value);
+ void po2_threshold_minChanged(double value);
private:
static void disk_phe(bool doSync);