summaryrefslogtreecommitdiffstats
path: root/qt-models/divelistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelistmodel.h')
-rw-r--r--qt-models/divelistmodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-models/divelistmodel.h b/qt-models/divelistmodel.h
index cb1918879..68f0c6fa7 100644
--- a/qt-models/divelistmodel.h
+++ b/qt-models/divelistmodel.h
@@ -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;
};