Group dives by trips

Group dives according to the allocated dive trips.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Grace Karanja 2015-06-11 09:39:32 +03:00 committed by Dirk Hohndel
parent f0c7779753
commit ee9452ae8a
3 changed files with 51 additions and 20 deletions

View file

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