QML UI: Add helper function to get cylinder info

Helper function that retrieves the cylinder description to be displayed in the
DiveDetails. Only the first cylinder for a dive is retrieved.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joakim Bygdell 2016-01-25 18:44:51 +01:00 committed by Dirk Hohndel
parent 1c3a1433e4
commit 19588ce139
3 changed files with 13 additions and 1 deletions

View file

@ -84,6 +84,7 @@ public slots:
QString getNumber(QString diveId);
QString getDate(QString diveId);
QString getCurrentPosition();
QString getCylinder(QString diveId);
void deleteGpsFix(quint64 when);
void refreshDiveList();