diff options
author | 2015-07-17 11:57:21 -0700 | |
---|---|---|
committer | 2015-07-17 12:00:38 -0700 | |
commit | d595f5c167c7283dc22f902ed0b18a7d6da2221e (patch) | |
tree | 10efaa6874740510a90fb9144facd7abe86ab577 /qt-models/divelistmodel.h | |
parent | 76e61bd8d9baea008628bf5b176cf8f0b664e78f (diff) | |
parent | 0c9756c5d786158f25aaf1ad2d9c316be9e2b9e5 (diff) | |
download | subsurface-d595f5c167c7283dc22f902ed0b18a7d6da2221e.tar.gz |
Merge branch 'devel' of https://github.com/gracie89/subsurface
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r-- | qt-models/divelistmodel.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h index 68f0c6fa7..89f793bbc 100644 --- a/qt-models/divelistmodel.h +++ b/qt-models/divelistmodel.h @@ -62,6 +62,9 @@ public: QString watertemp() const; void setWatertemp(const QString &watertemp); + QString diveId() const; + void setDiveId(const QString &diveId); + private: void setupDiveTempDetails(); @@ -82,6 +85,7 @@ private: QString m_notes; QString m_buddy; QString m_divemaster; + QString m_diveId; dive *m_thisDive; @@ -109,7 +113,8 @@ public: DiveLocationRole, DiveNotesRole, DiveBuddyRole, - DiveMasterRole + DiveMasterRole, + DiveIdRole }; static DiveListModel *instance(); |