summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/DiveObjectHelper.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-14 17:34:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-14 17:39:40 -0700
commit6a51c14365067fc45365c2a970d76749d9502a9d (patch)
treefebd2c4ee2f47f7a62a56f717f882975b04ac0b5 /core/subsurface-qt/DiveObjectHelper.h
parent4923aecc9d35a2419512520d6c38f12ce71733e6 (diff)
downloadsubsurface-6a51c14365067fc45365c2a970d76749d9502a9d.tar.gz
DiveObjectHelper: expose number of dives in a trip
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.h')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h
index d0a90a32b..4303650aa 100644
--- a/core/subsurface-qt/DiveObjectHelper.h
+++ b/core/subsurface-qt/DiveObjectHelper.h
@@ -42,6 +42,7 @@ class DiveObjectHelper : public QObject {
Q_PROPERTY(QList<CylinderObjectHelper*> cylinderObjects READ cylinderObjects CONSTANT)
Q_PROPERTY(QString trip READ trip CONSTANT)
Q_PROPERTY(QString tripMeta READ tripMeta CONSTANT)
+ Q_PROPERTY(int tripNrDives READ tripNrDives CONSTANT)
Q_PROPERTY(int maxcns READ maxcns CONSTANT)
Q_PROPERTY(int otu READ otu CONSTANT)
Q_PROPERTY(QString sumWeight READ sumWeight CONSTANT)
@@ -85,6 +86,7 @@ public:
QList<CylinderObjectHelper*> cylinderObjects() const;
QString trip() const;
QString tripMeta() const;
+ int tripNrDives() const;
int maxcns() const;
int otu() const;
QString sumWeight() const;