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>
This commit is contained in:
Anton Lundin 2014-10-18 00:33:36 +02:00 committed by Dirk Hohndel
parent 9e958c80fa
commit 624f0e9b24
3 changed files with 18 additions and 18 deletions

View file

@ -22,8 +22,8 @@
#define OSTC3_CCR_MODE 0x1F #define OSTC3_CCR_MODE 0x1F
#define OSTC3_DIVE_MODE 0x20 #define OSTC3_DIVE_MODE 0x20
#define OSTC3_DECO_TYPE 0x21 #define OSTC3_DECO_TYPE 0x21
#define OSTC3_PP02_MAX 0x22 #define OSTC3_PPO2_MAX 0x22
#define OSTC3_PP02_MIN 0x23 #define OSTC3_PPO2_MIN 0x23
#define OSTC3_FUTURE_TTS 0x24 #define OSTC3_FUTURE_TTS 0x24
#define OSTC3_GF_LOW 0x25 #define OSTC3_GF_LOW 0x25
#define OSTC3_GF_HIGH 0x26 #define OSTC3_GF_HIGH 0x26

View file

@ -30,8 +30,8 @@ DeviceDetails::DeviceDetails(QObject *parent) :
m_ccrMode(0), m_ccrMode(0),
m_diveMode(0), m_diveMode(0),
m_decoType(0), m_decoType(0),
m_pp02Max(0), m_ppO2Max(0),
m_pp02Min(0), m_ppO2Min(0),
m_futureTTS(0), m_futureTTS(0),
m_gfLow(0), m_gfLow(0),
m_gfHigh(0), m_gfHigh(0),
@ -355,24 +355,24 @@ void DeviceDetails::setDecoType(int decoType)
m_decoType = 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 int DeviceDetails::futureTTS() const

View file

@ -110,11 +110,11 @@ public:
int decoType() const; int decoType() const;
void setDecoType(int decoType); void setDecoType(int decoType);
int pp02Max() const; int ppO2Max() const;
void setPp02Max(int pp02Max); void setPpO2Max(int ppO2Max);
int pp02Min() const; int ppO2Min() const;
void setPp02Min(int pp02Min); void setPpO2Min(int ppO2Min);
int futureTTS() const; int futureTTS() const;
void setFutureTTS(int futureTTS); void setFutureTTS(int futureTTS);
@ -216,8 +216,8 @@ private:
int m_ccrMode; int m_ccrMode;
int m_diveMode; int m_diveMode;
int m_decoType; int m_decoType;
int m_pp02Max; int m_ppO2Max;
int m_pp02Min; int m_ppO2Min;
int m_futureTTS; int m_futureTTS;
int m_gfLow; int m_gfLow;
int m_gfHigh; int m_gfHigh;