diff options
author | Tim Wootton <tim@tee-jay.org.uk> | 2016-07-16 09:59:05 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-07-23 10:49:19 +0900 |
commit | 2cffb77d19e6ed7f3f5b26db8b68490159486f93 (patch) | |
tree | e6fc40016d2e4f3344734617583875090e638f9f /core/subsurface-qt/DiveObjectHelper.h | |
parent | aa404b3469a2ca74665107a03e8560163b9e7c75 (diff) | |
download | subsurface-2cffb77d19e6ed7f3f5b26db8b68490159486f93.tar.gz |
Adds missing visibility to DiveObjectHelper, so it too can be used in print templates.
Signed-off-by: Tim Wootton <tim@tee-jay.org.uk>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/DiveObjectHelper.h')
-rw-r--r-- | core/subsurface-qt/DiveObjectHelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/subsurface-qt/DiveObjectHelper.h b/core/subsurface-qt/DiveObjectHelper.h index fd44f81b8..6d95d7578 100644 --- a/core/subsurface-qt/DiveObjectHelper.h +++ b/core/subsurface-qt/DiveObjectHelper.h @@ -11,6 +11,7 @@ class DiveObjectHelper : public QObject { Q_PROPERTY(int number READ number CONSTANT) Q_PROPERTY(int id READ id CONSTANT) Q_PROPERTY(int rating READ rating CONSTANT) + Q_PROPERTY(int visibility READ visibility CONSTANT) Q_PROPERTY(QString date READ date CONSTANT) Q_PROPERTY(QString time READ time CONSTANT) Q_PROPERTY(int timestamp READ timestamp CONSTANT) @@ -51,6 +52,7 @@ public: int number() const; int id() const; int rating() const; + int visibility() const; QString date() const; timestamp_t timestamp() const; QString time() const; |