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>
This commit is contained in:
Jocke 2018-07-17 11:49:42 +02:00 committed by Dirk Hohndel
parent 891e8acaa8
commit c33a952582
2 changed files with 18 additions and 10 deletions

View file

@ -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: