summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index 307008cc1..f58040508 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -50,8 +50,12 @@ public:
QString notes() const;
void setNotes(const QString &notes);
+ QString trip() const;
+ void setTrip(const QString &trip);
+
private:
QString m_diveNumber;
+ QString m_trip;
QString m_date;
QString m_rating;
QString m_depth;
@@ -76,6 +80,7 @@ public:
enum DiveListRoles {
DiveNumberRole = Qt::UserRole + 1,
+ DiveTripRole,
DiveDateRole,
DiveRatingRole,
DiveDepthRole,