summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.h
diff options
context:
space:
mode:
authorGravatar Jocke <j.bygdell@gmail.com>2018-07-17 11:49:42 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-11 11:19:07 -0700
commitc33a952582b986c8d99b4a0e41701560e45dad7d (patch)
treea01ba373a6f7b0d522d58838184f4ccdac9b6688 /core/subsurface-qt/DiveObjectHelper.h
parent891e8acaa84adc213725f12778f469d40f29dde5 (diff)
downloadsubsurface-c33a952582b986c8d99b4a0e41701560e45dad7d.tar.gz
Mobile: return pressures for all used cylinders
Return all pressure values for all used cylinders as a list. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.h')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h
index 118197ac3..d36ef550e 100644
--- a/core/subsurface-qt/DiveObjectHelper.h
+++ b/core/subsurface-qt/DiveObjectHelper.h
@@ -46,8 +46,8 @@ class DiveObjectHelper : public QObject {
Q_PROPERTY(int otu READ otu CONSTANT)
Q_PROPERTY(QString sumWeight READ sumWeight CONSTANT)
Q_PROPERTY(QStringList getCylinder READ getCylinder CONSTANT)
- Q_PROPERTY(QString startPressure READ startPressure CONSTANT)
- Q_PROPERTY(QString endPressure READ endPressure CONSTANT)
+ Q_PROPERTY(QStringList startPressure READ startPressure CONSTANT)
+ Q_PROPERTY(QStringList endPressure READ endPressure CONSTANT)
Q_PROPERTY(QStringList firstGas READ firstGas CONSTANT)
public:
DiveObjectHelper(struct dive *dive = NULL);
@@ -90,8 +90,8 @@ public:
int otu() const;
QString sumWeight() const;
QStringList getCylinder() const;
- QString startPressure() const;
- QString endPressure() const;
+ QStringList startPressure() const;
+ QStringList endPressure() const;
QStringList firstGas() const;
private: