summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.h
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2016-09-24 18:02:07 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-24 08:29:56 -0700
commit7b891904e77364719471098a7bdf4eacc589807c (patch)
tree9493f9d13b69fb9d13865a5c1a130f1f8fca4f1f /core/subsurface-qt/SettingsObjectWrapper.h
parent2b14a9c95d6179fb4cff352dc20036594c8a5aff (diff)
downloadsubsurface-7b891904e77364719471098a7bdf4eacc589807c.tar.gz
Rename conservatism_level to vpmb_conservatism
Make the variable purpose less ambiguous Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.h')
-rw-r--r--core/subsurface-qt/SettingsObjectWrapper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/subsurface-qt/SettingsObjectWrapper.h b/core/subsurface-qt/SettingsObjectWrapper.h
index 7edb74eb5..9e823fdba 100644
--- a/core/subsurface-qt/SettingsObjectWrapper.h
+++ b/core/subsurface-qt/SettingsObjectWrapper.h
@@ -391,7 +391,7 @@ class DivePlannerSettings : public QObject {
Q_PROPERTY(int min_switch_duration READ minSwitchDuration WRITE setMinSwitchDuration NOTIFY minSwitchDurationChanged)
Q_PROPERTY(int bottomsac READ bottomSac WRITE setBottomSac NOTIFY bottomSacChanged)
Q_PROPERTY(int decosac READ decoSac WRITE setSecoSac NOTIFY decoSacChanged)
- Q_PROPERTY(short conservatism_level READ conservatismLevel WRITE setConservatismLevel NOTIFY conservatismLevelChanged)
+ Q_PROPERTY(short vpmb_conservatism READ vpmbConservatism WRITE setVpmbConservatism NOTIFY vpmbConservatismChanged)
Q_PROPERTY(deco_mode decoMode READ decoMode WRITE setDecoMode NOTIFY decoModeChanged)
public:
@@ -417,7 +417,7 @@ public:
int minSwitchDuration() const;
int bottomSac() const;
int decoSac() const;
- short conservatismLevel() const;
+ short vpmbConservatism() const;
deco_mode decoMode() const;
public slots:
@@ -442,7 +442,7 @@ public slots:
void setMinSwitchDuration(int value);
void setBottomSac(int value);
void setSecoSac(int value);
- void setConservatismLevel(int value);
+ void setVpmbConservatism(int value);
void setDecoMode(deco_mode value);
signals:
@@ -467,7 +467,7 @@ signals:
void minSwitchDurationChanged(int value);
void bottomSacChanged(int value);
void decoSacChanged(int value);
- void conservatismLevelChanged(int value);
+ void vpmbConservatismChanged(int value);
void decoModeChanged(deco_mode value);
private: