Salome HOME
Bug IPAL19442 - Qt4 porting. Merge nodes. Add, Remove, Edit selected group don't...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI.cxx
index bc7537e0a08de810712dd05268a984ddc5e5fcbc..1d2213d5b004a22c5390e32b10593a44cd2c7d47 100644 (file)
                            int theCommandID)
   {
     QStringList filter;
-    string myExtension;
+    std::string myExtension;
 
     if(theCommandID == 113){
       filter.append(QObject::tr("MED files (*.med)"));
         // put the whole hierarchy of sub-objects of the selected SO into a list and
         // then treat them all starting from the deepest objects (at list back)
 
-        list< _PTR(SObject) > listSO;
+        std::list< _PTR(SObject) > listSO;
         listSO.push_back( aSO );
-        list< _PTR(SObject) >::iterator itSO = listSO.begin();
+        std::list< _PTR(SObject) >::iterator itSO = listSO.begin();
         for ( ; itSO != listSO.end(); ++itSO ) {
           _PTR(ChildIterator) it = aStudy->NewChildIterator( *itSO );
           for (it->InitEx(false); it->More(); it->Next())
 
         // treat SO's in the list starting from the back
 
-        list< _PTR(SObject) >::reverse_iterator ritSO = listSO.rbegin();
+        std::list< _PTR(SObject) >::reverse_iterator ritSO = listSO.rbegin();
         for ( ; ritSO != listSO.rend(); ++ritSO ) {
           _PTR(SObject) SO = *ritSO;
           if ( !SO ) continue;
-          string anEntry = SO->GetID();
+          std::string anEntry = SO->GetID();
 
           /** Erase graphical object **/
          if(SO->FindAttribute(anAttr, "AttributeIOR")){
@@ -3055,9 +3055,9 @@ QString SMESHGUI::engineIOR() const
   return QString( anIOR.in() );
 }
 
-LightApp_Selection* SMESHGUI::createSelection( const QString& client, LightApp_SelectionMgr* mgr ) const
+LightApp_Selection* SMESHGUI::createSelection() const
 {
-  return new SMESHGUI_Selection( client, mgr );
+  return new SMESHGUI_Selection();
 }
 
 void SMESHGUI::windows( QMap<int, int>& aMap ) const