Salome HOME
Using files from package LightApp instead of files from package SalomeApp
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI.cxx
index 5aaeb3de09c8229e793e6db8259384bf13b24d43..24e95166441b6cb70130dc611cfbcd57c1a53bb3 100644 (file)
@@ -39,8 +39,8 @@ using namespace boost;
 #include "OB_ListItem.h"
 #include "SalomeApp_Application.h"
 #include "SalomeApp_ImportOperation.h"
-#include "SalomeApp_NameDlg.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_NameDlg.h"
+#include "LightApp_SelectionMgr.h"
 #include "SalomeApp_Study.h"
 #include "SUIT_Desktop.h"
 #include "SUIT_FileDlg.h"
@@ -268,7 +268,7 @@ CAM_DataModel* SUPERVGUI::createDataModel()
   return new SUPERVGUI_DataModel( this );
 }
 
-SalomeApp_Selection* SUPERVGUI::createSelection() const
+LightApp_Selection* SUPERVGUI::createSelection() const
 {
   return new SUPERVGUI_Selection();
 }
@@ -509,7 +509,7 @@ void SUPERVGUI::renameDataflow() {
       if ( obj->FindAttribute(anAttr, "AttributeName") ) {
         _PTR(AttributeName) aName ( anAttr );
         QString nm = QString( aName->Value().c_str() );
-        nm = SalomeApp_NameDlg::getName( application()->desktop(), nm );
+        nm = LightApp_NameDlg::getName( application()->desktop(), nm );
         if ( !nm.isEmpty() ) {
           // sak : 24.11.04 : fix for PAL6898 : if rename fails (study locked),
           // a message box is displayed, and cursor is "wait cursor".  We think that "wait cursor"