mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename dive class to avoid conflict
Rename the Dive class in divelistmodel.h to a void a conflict with the Dive class in templatelayout.h Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4e9128f847
commit
2f25fe9f0b
2 changed files with 45 additions and 57 deletions
|
@ -4,9 +4,9 @@
|
|||
#include <QAbstractListModel>
|
||||
#include "dive.h"
|
||||
|
||||
class Dive {
|
||||
class MobileDive {
|
||||
public:
|
||||
Dive(dive* d);
|
||||
MobileDive(dive* d);
|
||||
|
||||
QString date() const;
|
||||
void setDate(const QString &date);
|
||||
|
@ -120,7 +120,7 @@ public:
|
|||
QHash<int, QByteArray> roleNames() const;
|
||||
|
||||
private:
|
||||
QList<Dive> m_dives;
|
||||
QList<MobileDive> m_dives;
|
||||
static DiveListModel *m_instance;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue