mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add dive notes to the divelistmodel
Add the dive notes field into the DiveListModel class. Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4c40908954
commit
305509ad5f
2 changed files with 20 additions and 1 deletions
|
|
@ -47,6 +47,9 @@ public:
|
|||
QString diveNumber() const;
|
||||
void setDiveNumber(const QString &diveNumber);
|
||||
|
||||
QString notes() const;
|
||||
void setNotes(const QString ¬es);
|
||||
|
||||
private:
|
||||
QString m_diveNumber;
|
||||
QString m_date;
|
||||
|
|
@ -60,6 +63,7 @@ private:
|
|||
QString m_gas;
|
||||
QString m_sac;
|
||||
QString m_location;
|
||||
QString m_notes;
|
||||
|
||||
|
||||
dive *m_thisDive;
|
||||
|
|
@ -82,7 +86,8 @@ public:
|
|||
DiveCylinderRole,
|
||||
DiveGasRole,
|
||||
DiveSacRole,
|
||||
DiveLocationRole
|
||||
DiveLocationRole,
|
||||
DiveNotesRole
|
||||
};
|
||||
|
||||
static DiveListModel *instance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue