Remove obsolete staff; redesign Handle-based and CDL-generated classes

This commit is contained in:
vsr 2014-10-21 18:40:35 +04:00
parent 2742029b90
commit 0631ddc21d
22 changed files with 4 additions and 24 deletions

View File

@ -28,7 +28,7 @@
#include <SalomeApp_Application.h> #include <SalomeApp_Application.h>
#include <SUIT_Session.h> #include <SUIT_Session.h>
#include <SALOME_ListIteratorOfListIO.hxx> #include <SALOME_ListIO.hxx>
#include <GEOM_Client.hxx> #include <GEOM_Client.hxx>
#include <SMESHGUI_Utils.h> #include <SMESHGUI_Utils.h>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
@ -96,7 +96,7 @@ LightApp_SelectionMgr* GeomSelectionTools::selectionMgr()
*/ */
SALOME_ListIO* GeomSelectionTools::getSelectedSalomeObjects() SALOME_ListIO* GeomSelectionTools::getSelectedSalomeObjects()
{ {
SALOME_ListIO* selected; SALOME_ListIO* selected = new SALOME_ListIO;
LightApp_SelectionMgr* aSel = selectionMgr(); LightApp_SelectionMgr* aSel = selectionMgr();
aSel->selectedObjects( *selected, NULL, false ); aSel->selectedObjects( *selected, NULL, false );
return selected; return selected;

View File

@ -133,7 +133,6 @@
#include <QtxFontEdit.h> #include <QtxFontEdit.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#ifndef DISABLE_PLOT2DVIEWER #ifndef DISABLE_PLOT2DVIEWER
#include <SPlot2d_ViewModel.h> #include <SPlot2d_ViewModel.h>

View File

@ -43,7 +43,6 @@
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SVTK_Selection.h> #include <SVTK_Selection.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>

View File

@ -37,7 +37,7 @@
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>
#include <LightApp_Application.h> #include <LightApp_Application.h>
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SALOME_ListIteratorOfListIO.hxx> #include <SALOME_ListIO.hxx>
const int MARGIN = 9; const int MARGIN = 9;
const int SPACING = 6; const int SPACING = 6;

View File

@ -48,7 +48,6 @@
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// Qt includes // Qt includes
#include <QApplication> #include <QApplication>

View File

@ -62,8 +62,6 @@
#include <SalomeApp_DoubleSpinBox.h> #include <SalomeApp_DoubleSpinBox.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SALOME_DataMapIteratorOfDataMapOfIOMapOfInteger.hxx>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>

View File

@ -61,7 +61,6 @@
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>

View File

@ -59,7 +59,6 @@
#include <QKeyEvent> #include <QKeyEvent>
#include <QListWidget> #include <QListWidget>
#include <QButtonGroup> #include <QButtonGroup>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <QComboBox> #include <QComboBox>
#include <QtxColorButton.h> #include <QtxColorButton.h>

View File

@ -36,7 +36,7 @@
#include <SUIT_OverrideCursor.h> #include <SUIT_OverrideCursor.h>
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIteratorOfListIO.hxx> #include <SALOME_ListIO.hxx>
#include <QButtonGroup> #include <QButtonGroup>
#include <QGridLayout> #include <QGridLayout>

View File

@ -53,7 +53,6 @@
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <LightApp_Application.h> #include <LightApp_Application.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SalomeApp_Tools.h> #include <SalomeApp_Tools.h>
#include <SVTK_Selector.h> #include <SVTK_Selector.h>

View File

@ -46,7 +46,6 @@
// SALOME GUI includes // SALOME GUI includes
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SUIT_Desktop.h> #include <SUIT_Desktop.h>
#include <SUIT_MessageBox.h> #include <SUIT_MessageBox.h>
#include <SUIT_OverrideCursor.h> #include <SUIT_OverrideCursor.h>

View File

@ -52,7 +52,6 @@
#include <SVTK_ViewModel.h> #include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// SALOME KERNEL includes // SALOME KERNEL includes
#include <SALOMEDSClient.hxx> #include <SALOMEDSClient.hxx>

View File

@ -49,7 +49,6 @@
#include <SVTK_ViewModel.h> #include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// SALOME KERNEL includes // SALOME KERNEL includes
#include <SALOMEDSClient.hxx> #include <SALOMEDSClient.hxx>

View File

@ -43,7 +43,6 @@
#include <SVTK_ViewModel.h> #include <SVTK_ViewModel.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// SALOME KERNEL includes // SALOME KERNEL includes
#include <SALOMEDS_SObject.hxx> #include <SALOMEDS_SObject.hxx>

View File

@ -52,7 +52,6 @@
#include <SVTK_ViewModel.h> #include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// SALOME KERNEL includes // SALOME KERNEL includes
#include <SALOMEDSClient.hxx> #include <SALOMEDSClient.hxx>

View File

@ -52,7 +52,6 @@
#include <SVTK_ViewModel.h> #include <SVTK_ViewModel.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// SALOME KERNEL includes // SALOME KERNEL includes
#include <SALOMEDSClient.hxx> #include <SALOMEDSClient.hxx>

View File

@ -40,7 +40,6 @@
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <LightApp_Application.h> #include <LightApp_Application.h>
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>

View File

@ -47,7 +47,6 @@
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SVTK_Selector.h> #include <SVTK_Selector.h>
#include <SVTK_ViewModel.h> #include <SVTK_ViewModel.h>

View File

@ -40,7 +40,6 @@
#include <QtxComboBox.h> #include <QtxComboBox.h>
#include <SALOME_InteractiveObject.hxx> #include <SALOME_InteractiveObject.hxx>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>
#include <SalomeApp_IntSpinBox.h> #include <SalomeApp_IntSpinBox.h>
#include <SalomeApp_Tools.h> #include <SalomeApp_Tools.h>

View File

@ -35,7 +35,6 @@
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SVTK_ViewWindow.h> #include <SVTK_ViewWindow.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
// SALOME KERNEL incldues // SALOME KERNEL incldues
#include <SALOMEDSClient_SObject.hxx> #include <SALOMEDSClient_SObject.hxx>

View File

@ -29,7 +29,6 @@
#include <GEOMBase.h> #include <GEOMBase.h>
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <SALOME_ListIteratorOfListIO.hxx>
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>
// Qt includes // Qt includes

View File

@ -43,7 +43,6 @@
// SALOME GUI includes // SALOME GUI includes
#include <SALOME_ListIO.hxx> #include <SALOME_ListIO.hxx>
#include <LightApp_SelectionMgr.h> #include <LightApp_SelectionMgr.h>
#include <SALOME_ListIteratorOfListIO.hxx>
// SUIT Includes // SUIT Includes
#include <SUIT_ResourceMgr.h> #include <SUIT_ResourceMgr.h>