plannerShared: replace notes variables to plannerShared

Replace
    display_runtime
    display_duration
    display_transitions
    verbatim_plan
    display_variations

Signed-off-by: Jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2019-12-23 18:18:28 +01:00 committed by Dirk Hohndel
parent 55d856b0fd
commit d4a2c5cdee

View file

@ -470,11 +470,11 @@ PlannerSettingsWidget::PlannerSettingsWidget(QWidget *parent, Qt::WindowFlags f)
connect(ui.lastStop, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_last_stop(bool)));
connect(ui.lastStop, SIGNAL(toggled(bool)), this, SLOT(disableBackgasBreaks(bool)));
connect(ui.verbatim_plan, SIGNAL(toggled(bool)), plannerModel, SLOT(setVerbatim(bool)));
connect(ui.display_duration, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayDuration(bool)));
connect(ui.display_runtime, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayRuntime(bool)));
connect(ui.display_transitions, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayTransitions(bool)));
connect(ui.display_variations, SIGNAL(toggled(bool)), plannerModel, SLOT(setDisplayVariations(bool)));
connect(ui.verbatim_plan, SIGNAL(toggled(bool)), plannerModel, SLOT(set_verbatim_plan(bool)));
connect(ui.display_duration, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_duration(bool)));
connect(ui.display_runtime, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_runtime(bool)));
connect(ui.display_transitions, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_transitions(bool)));
connect(ui.display_variations, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_display_variations(bool)));
connect(ui.safetystop, SIGNAL(toggled(bool)), plannerShared::instance(), SLOT(set_safetystop(bool)));
connect(ui.reserve_gas, SIGNAL(valueChanged(int)), plannerShared::instance(), SLOT(set_reserve_gas(int)));
connect(ui.ascRate75, SIGNAL(valueChanged(int)), plannerModel, SLOT(setAscrate75(int)));