From: vsr Date: Thu, 1 Oct 2009 11:42:20 +0000 (+0000) Subject: Remove JoinObjectParameters() method X-Git-Tag: V5_1_3rc1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b09de1d401d54f5f1b93b172d00acdcd097435e0;p=plugins%2Fnetgenplugin.git Remove JoinObjectParameters() method --- 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)