summaryrefslogtreecommitdiffstats
path: root/devicedetails.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-18 00:33:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-18 15:20:20 -0700
commit624f0e9b243cbca8019bb71f74073d6bbc74468e (patch)
tree9ae05e721b84f4305d050b26a197bb7ebf1a05a6 /devicedetails.cpp
parent9e958c80fa11bb250560fc9b4d4c65c623f47e60 (diff)
downloadsubsurface-624f0e9b243cbca8019bb71f74073d6bbc74468e.tar.gz
Fix 02 typo, rename O2 members in devicesettings
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'devicedetails.cpp')
-rw-r--r--devicedetails.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/devicedetails.cpp b/devicedetails.cpp
index ccd768999..d6984b3fb 100644
--- a/devicedetails.cpp
+++ b/devicedetails.cpp
@@ -30,8 +30,8 @@ DeviceDetails::DeviceDetails(QObject *parent) :
m_ccrMode(0),
m_diveMode(0),
m_decoType(0),
- m_pp02Max(0),
- m_pp02Min(0),
+ m_ppO2Max(0),
+ m_ppO2Min(0),
m_futureTTS(0),
m_gfLow(0),
m_gfHigh(0),
@@ -355,24 +355,24 @@ void DeviceDetails::setDecoType(int decoType)
m_decoType = decoType;
}
-int DeviceDetails::pp02Max() const
+int DeviceDetails::ppO2Max() const
{
- return m_pp02Max;
+ return m_ppO2Max;
}
-void DeviceDetails::setPp02Max(int pp02Max)
+void DeviceDetails::setPpO2Max(int ppO2Max)
{
- m_pp02Max = pp02Max;
+ m_ppO2Max = ppO2Max;
}
-int DeviceDetails::pp02Min() const
+int DeviceDetails::ppO2Min() const
{
- return m_pp02Min;
+ return m_ppO2Min;
}
-void DeviceDetails::setPp02Min(int pp02Min)
+void DeviceDetails::setPpO2Min(int ppO2Min)
{
- m_pp02Min = pp02Min;
+ m_ppO2Min = ppO2Min;
}
int DeviceDetails::futureTTS() const