diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-12-11 17:31:04 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2020-12-12 16:37:29 +0100 |
commit | e7a18456c90f80433b6a6306dfdbd3b7bf016b76 (patch) | |
tree | 5d145155471c555331684415f35ef10566605968 /core/subsurface-qt/diveobjecthelper.h | |
parent | 11eec0a503df9df5619a294c2769437c4fee36ea (diff) | |
download | subsurface-e7a18456c90f80433b6a6306dfdbd3b7bf016b76.tar.gz |
Add surge etc to printing template variables
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/subsurface-qt/diveobjecthelper.h')
-rw-r--r-- | core/subsurface-qt/diveobjecthelper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/subsurface-qt/diveobjecthelper.h b/core/subsurface-qt/diveobjecthelper.h index a10fe83f1..a1fddd1c8 100644 --- a/core/subsurface-qt/diveobjecthelper.h +++ b/core/subsurface-qt/diveobjecthelper.h @@ -15,6 +15,10 @@ class DiveObjectHelper { Q_PROPERTY(int id MEMBER id CONSTANT) Q_PROPERTY(int rating MEMBER rating CONSTANT) Q_PROPERTY(int visibility MEMBER visibility CONSTANT) + Q_PROPERTY(int wavesize MEMBER wavesize CONSTANT) + Q_PROPERTY(int current MEMBER current CONSTANT) + Q_PROPERTY(int surge MEMBER surge CONSTANT) + Q_PROPERTY(int chill MEMBER chill CONSTANT) Q_PROPERTY(QString date READ date CONSTANT) Q_PROPERTY(QString time READ time CONSTANT) Q_PROPERTY(int timestamp MEMBER timestamp CONSTANT) @@ -53,6 +57,10 @@ public: int id; int rating; int visibility; + int wavesize; + int current; + int surge; + int chill; QString date() const; timestamp_t timestamp; QString time() const; |