summaryrefslogtreecommitdiffstats
path: root/qt-models/divetripmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divetripmodel.h')
-rw-r--r--qt-models/divetripmodel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-models/divetripmodel.h b/qt-models/divetripmodel.h
index 7844d813f..01626448f 100644
--- a/qt-models/divetripmodel.h
+++ b/qt-models/divetripmodel.h
@@ -3,6 +3,7 @@
#include "treemodel.h"
#include "core/dive.h"
+#include <string>
struct DiveItem : public TreeItem {
Q_DECLARE_TR_FUNCTIONS(TripItem)
@@ -21,6 +22,7 @@ public:
SAC,
OTU,
MAXCNS,
+ PHOTOS,
LOCATION,
COLUMNS
};
@@ -36,7 +38,9 @@ public:
QString displayTemperature() const;
QString displayWeight() const;
QString displaySac() const;
+ int countPhotos(dive *dive) const;
int weight() const;
+ QString icon_names[4];
};
struct TripItem : public TreeItem {
@@ -63,6 +67,7 @@ public:
SAC,
OTU,
MAXCNS,
+ PHOTOS,
LOCATION,
COLUMNS
};