diff options
author | jan Iversen <jan@casacondor.com> | 2020-01-21 17:43:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-01-25 17:13:20 -0800 |
commit | 1e3879d87d90e34712571867c5c2a2bea3196a4b (patch) | |
tree | 138a39de0a341f9f077c84e2e4f1b00555953a82 /mobile-widgets/qmlinterface.cpp | |
parent | 86fd49f2d79f3e199de5261a80e01b34541b96f6 (diff) | |
download | subsurface-1e3879d87d90e34712571867c5c2a2bea3196a4b.tar.gz |
diveplanner: add last gas variables to QMLInterface
Add bottompo2, decopo2 and bestmixend to QMLInterface
Bestmixend in gas options changing with
meter/feet
Signed-off-by: jan Iversen <jan@casacondor.com>
Diffstat (limited to 'mobile-widgets/qmlinterface.cpp')
-rw-r--r-- | mobile-widgets/qmlinterface.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qmlinterface.cpp b/mobile-widgets/qmlinterface.cpp index 21ab50494..df3af0b5f 100644 --- a/mobile-widgets/qmlinterface.cpp +++ b/mobile-widgets/qmlinterface.cpp @@ -71,6 +71,16 @@ void QMLInterface::setup(QQmlContext *ct) instance(), &QMLInterface::decosacChanged); connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::sacfactorChanged, instance(), &QMLInterface::sacfactorChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::problemsolvingtimeChanged, + instance(), &QMLInterface::problemsolvingtimeChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::o2narcoticChanged, + instance(), &QMLInterface::o2narcoticChanged); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::bottompo2Changed, + instance(), &QMLInterface::bottompo2Changed); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::decopo2Changed, + instance(), &QMLInterface::decopo2Changed); + connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::bestmixendChanged, + instance(), &QMLInterface::bestmixendChanged); connect(qPrefDivePlanner::instance(), &qPrefDivePlanner::display_runtimeChanged, instance(), &QMLInterface::display_runtimeChanged); |