From b09de1d401d54f5f1b93b172d00acdcd097435e0 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 1 Oct 2009 11:42:20 +0000 Subject: [PATCH] Remove JoinObjectParameters() method --- src/GUI/NETGENPluginGUI_HypothesisCreator.cxx | 8 ++++---- src/GUI/NETGENPluginGUI_SimpleCreator.cxx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx index fc9d196..b3cc07f 100644 --- a/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/NETGENPluginGUI_HypothesisCreator.cxx @@ -307,12 +307,12 @@ bool NETGENPluginGUI_HypothesisCreator::storeParamsToHypo( const NetgenHypothesi h_2d->SetQuadAllowed( h_data.myAllowQuadrangles ); } - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); if( fineness==UserDefined ) { - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); } } diff --git a/src/GUI/NETGENPluginGUI_SimpleCreator.cxx b/src/GUI/NETGENPluginGUI_SimpleCreator.cxx index 2b7fcfe..3a9c871 100644 --- a/src/GUI/NETGENPluginGUI_SimpleCreator.cxx +++ b/src/GUI/NETGENPluginGUI_SimpleCreator.cxx @@ -329,7 +329,7 @@ QString NETGENPluginGUI_SimpleCreator::storeParams() const aVariablesList.append(myLength->text()); } - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); // 2D if ( myArea->isEnabled() ) { @@ -343,7 +343,7 @@ QString NETGENPluginGUI_SimpleCreator::storeParams() const aVariablesList.append(QString()); } - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); // 3D if ( myVolume ) { @@ -359,7 +359,7 @@ QString NETGENPluginGUI_SimpleCreator::storeParams() const valStr += "; lenFromFaces"; aVariablesList.append(QString()); } - h->SetParameters(SMESHGUI::JoinObjectParameters(aVariablesList)); + h->SetParameters(aVariablesList.join(":").toLatin1().constData()); } } catch(const SALOME::SALOME_Exception& ex) -- 2.39.2