mobile models: add trip location and notes

First step towards making those accessible and then editable.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-02-21 21:31:31 -08:00
parent 9e13777cc1
commit 028807ebc5
3 changed files with 6 additions and 0 deletions

View file

@ -49,6 +49,8 @@ QHash<int, QByteArray> MobileListModelBase::roleNames() const
roles[DiveInTripRole] = "diveInTrip";
roles[TripAbove] = "tripAbove";
roles[TripBelow] = "tripBelow";
roles[TripLocationRole] = "tripLocation";
roles[TripNotesRole] = "tripNotes";
return roles;
}