diff options
author | Jocke <j.bygdell@gmail.com> | 2018-07-12 11:57:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-11 11:19:07 -0700 |
commit | 80df7dd4419549685cab356b35e498f867685b0f (patch) | |
tree | d2d0aa6cdf06978e7088398e8d507f2c188dcedf /core/subsurface-qt/DiveObjectHelper.h | |
parent | a85d4a6447460ee796380620721493853a23d44b (diff) | |
download | subsurface-80df7dd4419549685cab356b35e498f867685b0f.tar.gz |
Mobile: return all used cylinders as a list
Planning ahead for full edit capabilities of dives that uses multiple cylinders.
Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.h')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h index 51efc5595..1c9228365 100644 --- a/core/subsurface-qt/DiveObjectHelper.h +++ b/core/subsurface-qt/DiveObjectHelper.h @@ -45,7 +45,7 @@ class DiveObjectHelper : public QObject { Q_PROPERTY(int maxcns READ maxcns CONSTANT) Q_PROPERTY(int otu READ otu CONSTANT) Q_PROPERTY(QString sumWeight READ sumWeight CONSTANT) - Q_PROPERTY(QString getCylinder READ getCylinder CONSTANT) + Q_PROPERTY(QStringList getCylinder READ getCylinder CONSTANT) Q_PROPERTY(QString startPressure READ startPressure CONSTANT) Q_PROPERTY(QString endPressure READ endPressure CONSTANT) Q_PROPERTY(QString firstGas READ firstGas CONSTANT) @@ -89,7 +89,7 @@ public: int maxcns() const; int otu() const; QString sumWeight() const; - QString getCylinder() const; + QStringList getCylinder() const; QString startPressure() const; QString endPressure() const; QString firstGas() const; |