diff options
Diffstat (limited to 'qt-models/diveplannermodel.cpp')
-rw-r--r-- | qt-models/diveplannermodel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qt-models/diveplannermodel.cpp b/qt-models/diveplannermodel.cpp index d3f9c4c6c..7694b185e 100644 --- a/qt-models/diveplannermodel.cpp +++ b/qt-models/diveplannermodel.cpp @@ -515,7 +515,7 @@ void DivePlannerPointsModel::setLastStop6m(bool value) emitDataChanged(); } -void DivePlannerPointsModel::setAscrate75(int rate) +void DivePlannerPointsModel::setAscrate75Display(int rate) { qPrefDivePlanner::set_ascrate75(lrint(rate * UNIT_FACTOR)); emitDataChanged(); @@ -525,7 +525,7 @@ int DivePlannerPointsModel::ascrate75Display() return lrint((float)prefs.ascrate75 / UNIT_FACTOR); } -void DivePlannerPointsModel::setAscrate50(int rate) +void DivePlannerPointsModel::setAscrate50Display(int rate) { qPrefDivePlanner::set_ascrate50(lrint(rate * UNIT_FACTOR)); emitDataChanged(); @@ -535,7 +535,7 @@ int DivePlannerPointsModel::ascrate50Display() return lrint((float)prefs.ascrate50 / UNIT_FACTOR); } -void DivePlannerPointsModel::setAscratestops(int rate) +void DivePlannerPointsModel::setAscratestopsDisplay(int rate) { qPrefDivePlanner::set_ascratestops(lrint(rate * UNIT_FACTOR)); emitDataChanged(); @@ -545,7 +545,7 @@ int DivePlannerPointsModel::ascratestopsDisplay() return lrint((float)prefs.ascratestops / UNIT_FACTOR); } -void DivePlannerPointsModel::setAscratelast6m(int rate) +void DivePlannerPointsModel::setAscratelast6mDisplay(int rate) { qPrefDivePlanner::set_ascratelast6m(lrint(rate * UNIT_FACTOR)); emitDataChanged(); @@ -555,7 +555,7 @@ int DivePlannerPointsModel::ascratelast6mDisplay() return lrint((float)prefs.ascratelast6m / UNIT_FACTOR); } -void DivePlannerPointsModel::setDescrate(int rate) +void DivePlannerPointsModel::setDescrateDisplay(int rate) { qPrefDivePlanner::set_descrate(lrint(rate * UNIT_FACTOR)); emitDataChanged(); |