summaryrefslogtreecommitdiffstats
path: root/subsurface-core/qthelper.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-17 00:29:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-16 15:06:32 -0800
commit7e749e8ea4a4c73e01bca1b23dd96aaccbc4fa07 (patch)
tree147e02a595f95979317d4710c09a58efdb1dd390 /subsurface-core/qthelper.h
parentc78a5604426e0055250b5201f276ec58e89fb178 (diff)
downloadsubsurface-7e749e8ea4a4c73e01bca1b23dd96aaccbc4fa07.tar.gz
qthelper: also support "maxcns" and "otu" in Grantlee HTML
Fixes #962 Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/qthelper.h')
-rw-r--r--subsurface-core/qthelper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/subsurface-core/qthelper.h b/subsurface-core/qthelper.h
index 86be073f8..4345afae0 100644
--- a/subsurface-core/qthelper.h
+++ b/subsurface-core/qthelper.h
@@ -32,6 +32,8 @@ private:
QString m_suit;
QStringList m_cylinders;
QString m_trip;
+ QString m_maxcns;
+ QString m_otu;
struct dive *dive;
void put_date_time();
void put_timestamp();
@@ -49,6 +51,8 @@ private:
void put_suit();
void put_cylinder();
void put_trip();
+ void put_maxcns();
+ void put_otu();
public:
Dive(struct dive *dive)
@@ -73,6 +77,8 @@ public:
put_suit();
put_cylinder();
put_trip();
+ put_maxcns();
+ put_otu();
}
Dive();
~Dive();
@@ -99,6 +105,8 @@ public:
QString cylinders() const;
QString cylinder(int idx) const;
QString trip() const;
+ QString maxcns() const;
+ QString otu() const;
};
// global pointers for our translation