X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Selection.h;h=5f2e05fb6000dca218bb480bf0105acc353135ff;hb=7d9ae6b54f5ec98fff137636f7ad2a60d10ce6b6;hp=524aa26a253fcbcaa2ffe0c7e53b9d5351e0b9b2;hpb=1f1c0e4dcbab7d45bfb55661736fbcfab125772c;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_Selection.h b/src/SMESHGUI/SMESHGUI_Selection.h index 524aa26a2..5f2e05fb6 100644 --- a/src/SMESHGUI/SMESHGUI_Selection.h +++ b/src/SMESHGUI/SMESHGUI_Selection.h @@ -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; @@ -64,12 +64,11 @@ public: SMESH_Actor* getActor( int ind ) const; static int type( const QString&, _PTR(Study) ); - static int type( SalomeApp_DataOwner* owner, _PTR(Study) study); static QString typeName( const int type); private: - QStringList myTypes; - SUIT_DataOwnerPtrList myDataOwners; + QStringList myTypes; + QPtrList myActors; }; #endif