summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-14 05:38:11 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-14 09:43:33 -0700
commitc84f16e7f68df2227cec202feb8948eb75ac6613 (patch)
tree27b011eba4f61a5078a4a2330c1026d992bb8edf /core
parent590af9ae7dced1ca87b38f1ab3774d3a2b678ba1 (diff)
downloadsubsurface-c84f16e7f68df2227cec202feb8948eb75ac6613.tar.gz
Make the raw timestamp available in QML
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r--core/subsurface-qt/DiveObjectHelper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h
index 602775ef8..e3b5d1eaa 100644
--- a/core/subsurface-qt/DiveObjectHelper.h
+++ b/core/subsurface-qt/DiveObjectHelper.h
@@ -13,6 +13,7 @@ class DiveObjectHelper : public QObject {
Q_PROPERTY(int rating READ rating CONSTANT)
Q_PROPERTY(QString date READ date CONSTANT)
Q_PROPERTY(QString time READ time CONSTANT)
+ Q_PROPERTY(int timestamp READ timestamp CONSTANT)
Q_PROPERTY(QString location READ location CONSTANT)
Q_PROPERTY(QString gps READ gps CONSTANT)
Q_PROPERTY(QString duration READ duration CONSTANT)