diff options
Diffstat (limited to 'subsurface-core/qthelper.cpp')
-rw-r--r-- | subsurface-core/qthelper.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp index 049ebf6fc..c3ea37c97 100644 --- a/subsurface-core/qthelper.cpp +++ b/subsurface-core/qthelper.cpp @@ -178,6 +178,16 @@ QString Dive::trip() const return m_trip; } +QString Dive::maxcns() const +{ + return m_maxcns; +} + +QString Dive::otu() const +{ + return m_otu; +} + int Dive::rating() const { return m_rating; @@ -351,6 +361,16 @@ void Dive::put_trip() } } +void Dive::put_maxcns() +{ + m_maxcns = QString::number(dive->maxcns); +} + +void Dive::put_otu() +{ + m_otu = QString::number(dive->otu); +} + QString weight_string(int weight_in_grams) { QString str; |