Fem: Use lower camel case in TaskFemConstraintPressure methods
This commit is contained in:
@@ -251,12 +251,12 @@ const std::string TaskFemConstraintPressure::getReferences() const
|
||||
return TaskFemConstraint::getReferences(items);
|
||||
}
|
||||
|
||||
std::string TaskFemConstraintPressure::get_Pressure() const
|
||||
std::string TaskFemConstraintPressure::getPressure() const
|
||||
{
|
||||
return ui->if_pressure->value().getSafeUserString().toStdString();
|
||||
}
|
||||
|
||||
bool TaskFemConstraintPressure::get_Reverse() const
|
||||
bool TaskFemConstraintPressure::getReverse() const
|
||||
{
|
||||
return ui->checkBoxReverse->isChecked();
|
||||
}
|
||||
@@ -321,11 +321,11 @@ bool TaskDlgFemConstraintPressure::accept()
|
||||
Gui::Command::doCommand(Gui::Command::Doc,
|
||||
"App.ActiveDocument.%s.Pressure = \"%s\"",
|
||||
name.c_str(),
|
||||
parameterPressure->get_Pressure().c_str());
|
||||
parameterPressure->getPressure().c_str());
|
||||
Gui::Command::doCommand(Gui::Command::Doc,
|
||||
"App.ActiveDocument.%s.Reversed = %s",
|
||||
name.c_str(),
|
||||
parameterPressure->get_Reverse() ? "True" : "False");
|
||||
parameterPressure->getReverse() ? "True" : "False");
|
||||
std::string scale = parameterPressure->getScale(); // OvG: determine modified scale
|
||||
Gui::Command::doCommand(Gui::Command::Doc,
|
||||
"App.ActiveDocument.%s.Scale = %s",
|
||||
|
||||
@@ -46,8 +46,8 @@ public:
|
||||
QWidget* parent = nullptr);
|
||||
~TaskFemConstraintPressure() override;
|
||||
const std::string getReferences() const override;
|
||||
std::string get_Pressure() const;
|
||||
bool get_Reverse() const;
|
||||
std::string getPressure() const;
|
||||
bool getReverse() const;
|
||||
|
||||
private Q_SLOTS:
|
||||
void onReferenceDeleted();
|
||||
|
||||
Reference in New Issue
Block a user