diff options
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r-- | qt-models/divelistmodel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index 2f8985235..d9e0928dc 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -36,15 +36,14 @@ QStringList formatGetCylinder(const dive *d); QStringList getStartPressure(const dive *d); QStringList getEndPressure(const dive *d); QStringList getFirstGas(const dive *d); - +QStringList getFullCylinderList(); class DiveListModel : public QAbstractListModel { Q_OBJECT public: enum DiveListRoles { - DiveRole = Qt::UserRole + 1, - DiveDateRole, + DiveDateRole = Qt::UserRole + 1, TripIdRole, TripNrDivesRole, DateTimeRole, @@ -69,6 +68,8 @@ public: NoDiveRole, DiveSiteRole, CylinderRole, + GetCylinderRole, + CylinderListRole, SingleWeightRole, StartPressureRole, EndPressureRole, |