X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Selection.h;h=08d37c9790484368a0a0b309705d6df5e8613f9a;hp=7137ebaef333b72e8adc07c0cac80f43688e9e69;hb=c63ee099ad2b149bd70136839c973e8910137bc5;hpb=25cec45acb2923f66c849516f31337c1a3c4c687 diff --git a/src/SMESHGUI/SMESHGUI_Selection.h b/src/SMESHGUI/SMESHGUI_Selection.h index 7137ebaef..08d37c979 100644 --- a/src/SMESHGUI/SMESHGUI_Selection.h +++ b/src/SMESHGUI/SMESHGUI_Selection.h @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -29,23 +29,23 @@ #ifndef SMESHGUI_SELECTION_HeaderFile #define SMESHGUI_SELECTION_HeaderFile -#include "SalomeApp_Selection.h" +#include "LightApp_Selection.h" #include "SALOMEDSClient_definitions.hxx" -#include "SUIT_DataOwner.h" -class SalomeApp_SelectionMgr; +class LightApp_SelectionMgr; class SALOMEDSClient_Study; -class SalomeApp_DataOwner; +class LightApp_DataOwner; class SMESH_Actor; -class SMESHGUI_Selection : public SalomeApp_Selection +class SMESHGUI_Selection : public LightApp_Selection { public: SMESHGUI_Selection(); virtual ~SMESHGUI_Selection(); - virtual void init( const QString&, SalomeApp_SelectionMgr* ); + virtual void init( const QString&, LightApp_SelectionMgr* ); virtual QtxValue param( const int , const QString& paramName ) const; + virtual void processOwner( const LightApp_DataOwner* ); // got from object, not from actor virtual int numberOfNodes( int ind ) const; @@ -63,12 +63,12 @@ public: SMESH_Actor* getActor( int ind ) const; - static int type( SalomeApp_DataOwner* owner, _PTR(Study) study); + static int type( const QString&, _PTR(Study) ); static QString typeName( const int type); private: - QStringList myTypes; - SUIT_DataOwnerPtrList myDataOwners; + QStringList myTypes; + QPtrList myActors; }; #endif