summaryrefslogtreecommitdiffstats
path: root/backend-shared/plannershared.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend-shared/plannershared.cpp')
-rw-r--r--backend-shared/plannershared.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/backend-shared/plannershared.cpp b/backend-shared/plannershared.cpp
index 631893d3e..113b0f7e2 100644
--- a/backend-shared/plannershared.cpp
+++ b/backend-shared/plannershared.cpp
@@ -31,42 +31,6 @@ void plannerShared::set_reserve_gas(int value)
DivePlannerPointsModel::instance()->setReserveGas(value);
}
-bool plannerShared::safetystop()
-{
- return qPrefDivePlanner::safetystop();
-}
-void plannerShared::set_safetystop(bool value)
-{
- DivePlannerPointsModel::instance()->setSafetyStop(value);
-}
-
-int plannerShared::gflow()
-{
- return qPrefTechnicalDetails::gflow();
-}
-void plannerShared::set_gflow(int value)
-{
- DivePlannerPointsModel::instance()->setGFLow(value);
-}
-
-int plannerShared::gfhigh()
-{
- return qPrefTechnicalDetails::gflow();
-}
-void plannerShared::set_gfhigh(int value)
-{
- DivePlannerPointsModel::instance()->setGFHigh(value);
-}
-
-int plannerShared::vpmb_conservatism()
-{
- return qPrefTechnicalDetails::vpmb_conservatism();
-}
-void plannerShared::set_vpmb_conservatism(int value)
-{
- DivePlannerPointsModel::instance()->setVpmbConservatism(value);
-}
-
bool plannerShared::dobailout()
{
return qPrefDivePlanner::dobailout();
@@ -77,33 +41,6 @@ void plannerShared::set_dobailout(bool value)
DivePlannerPointsModel::instance()->emitDataChanged();
}
-bool plannerShared::drop_stone_mode()
-{
- return qPrefDivePlanner::drop_stone_mode();
-}
-void plannerShared::set_drop_stone_mode(bool value)
-{
- DivePlannerPointsModel::instance()->setDropStoneMode(value);
-}
-
-bool plannerShared::last_stop()
-{
- return qPrefDivePlanner::last_stop();
-}
-void plannerShared::set_last_stop(bool value)
-{
- DivePlannerPointsModel::instance()->setLastStop6m(value);
-}
-
-bool plannerShared::switch_at_req_stop()
-{
- return qPrefDivePlanner::switch_at_req_stop();
-}
-void plannerShared::set_switch_at_req_stop(bool value)
-{
- DivePlannerPointsModel::instance()->setSwitchAtReqStop(value);
-}
-
bool plannerShared::doo2breaks()
{
return qPrefDivePlanner::doo2breaks();
@@ -144,16 +81,6 @@ void plannerShared::set_decosac(double value)
DivePlannerPointsModel::instance()->setDecoSac(value);
}
-int plannerShared::problemsolvingtime()
-{
- return qPrefDivePlanner::problemsolvingtime();
-}
-void plannerShared::set_problemsolvingtime(int value)
-{
- // NO conversion, this is done in the planner model.
- DivePlannerPointsModel::instance()->setProblemSolvingTime(value);
-}
-
double plannerShared::sacfactor()
{
return qPrefDivePlanner::sacfactor() / 100.0;