Salome HOME
Highload tests added.
[modules/shaper.git] / src / ModuleBase / ModuleBase_OperationDescription.cpp
index ffffe6922f00a1db053f1977304e176cdd7fec70..e69e39218ca6646321f7341752ada5fae9912778 100644 (file)
@@ -9,7 +9,7 @@
 #include <QString>
 
 ModuleBase_OperationDescription::ModuleBase_OperationDescription(const QString& theId)
-: myOperationId(theId)
+    : myOperationId(theId)
 {
 }
 
@@ -33,19 +33,19 @@ void ModuleBase_OperationDescription::setDescription(const QString& theDescripti
 }
 
 /*void ModuleBase_OperationDescription::setModelWidgets(const std::string& theXmlRepresentation,
                                                     const QList<ModuleBase_ModelWidget*>& theWidgets)
-{
 myWidgets.clear();
 QList<ModuleBase_ModelWidget*>::const_iterator anIt = theWidgets.begin(), aLast = theWidgets.end();
 for (; anIt != aLast; anIt++)
   myWidgets.push_back(*anIt);
 myXmlRepresentation = theXmlRepresentation;
-}*/
+ const QList<ModuleBase_ModelWidget*>& theWidgets)
+ {
+ myWidgets.clear();
+ QList<ModuleBase_ModelWidget*>::const_iterator anIt = theWidgets.begin(), aLast = theWidgets.end();
+ for (; anIt != aLast; anIt++)
+ myWidgets.push_back(*anIt);
+ myXmlRepresentation = theXmlRepresentation;
+ }*/
 
 /*const QList<ModuleBase_ModelWidget*>& ModuleBase_OperationDescription::modelWidgets() const
-{
 return myWidgets;
-}*/
+ {
+ return myWidgets;
+ }*/
 
 const QString& ModuleBase_OperationDescription::xmlRepresentation() const
 {