X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_Selection.h;h=7137ebaef333b72e8adc07c0cac80f43688e9e69;hp=20e13f9bb9390adc49c218f07bce877a1637971b;hb=25cec45acb2923f66c849516f31337c1a3c4c687;hpb=4679b8437be95e08b09e23f9d9069f3d18f4a754 diff --git a/src/SMESHGUI/SMESHGUI_Selection.h b/src/SMESHGUI/SMESHGUI_Selection.h index 20e13f9bb..7137ebaef 100644 --- a/src/SMESHGUI/SMESHGUI_Selection.h +++ b/src/SMESHGUI/SMESHGUI_Selection.h @@ -29,8 +29,7 @@ #ifndef SMESHGUI_SELECTION_HeaderFile #define SMESHGUI_SELECTION_HeaderFile -#include - +#include "SalomeApp_Selection.h" #include "SALOMEDSClient_definitions.hxx" #include "SUIT_DataOwner.h" @@ -39,16 +38,15 @@ class SALOMEDSClient_Study; class SalomeApp_DataOwner; class SMESH_Actor; -class SMESHGUI_Selection : public QtxPopupMgr::Selection +class SMESHGUI_Selection : public SalomeApp_Selection { public: - SMESHGUI_Selection( const QString&, SalomeApp_SelectionMgr* ); + SMESHGUI_Selection(); virtual ~SMESHGUI_Selection(); + virtual void init( const QString&, SalomeApp_SelectionMgr* ); virtual QtxValue param( const int , const QString& paramName ) const; - virtual int count() const; - // got from object, not from actor virtual int numberOfNodes( int ind ) const; virtual QVariant isComputable( int ind ) const; @@ -69,7 +67,6 @@ public: static QString typeName( const int type); private: - QString myPopupClient; QStringList myTypes; SUIT_DataOwnerPtrList myDataOwners; };