From f377395f432c720b3a14c8d0392ea2a63d92c6fe Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 3 Apr 2006 10:15:36 +0000 Subject: [PATCH] new method `referencedToEntry` --- src/LightApp/LightApp_Selection.cxx | 7 ++++++- src/LightApp/LightApp_Selection.h | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Selection.cxx b/src/LightApp/LightApp_Selection.cxx index dc592f522..fba26610a 100644 --- a/src/LightApp/LightApp_Selection.cxx +++ b/src/LightApp/LightApp_Selection.cxx @@ -86,7 +86,7 @@ void LightApp_Selection::init( const QString& client, LightApp_SelectionMgr* mgr LightApp_DataOwner* sowner = dynamic_cast( (*anIt ).get() ); if( sowner ) { - entry = myStudy->referencedToEntry( sowner->entry() ); + entry = referencedToEntry( sowner->entry() ); if( entries.contains( entry ) ) continue; @@ -100,6 +100,11 @@ void LightApp_Selection::init( const QString& client, LightApp_SelectionMgr* mgr } } +QString LightApp_Selection::referencedToEntry( const QString& entry ) const +{ + return myStudy->referencedToEntry( entry ); +} + /*! Gets count of entries. */ diff --git a/src/LightApp/LightApp_Selection.h b/src/LightApp/LightApp_Selection.h index 79cc0fac6..7910b47f8 100644 --- a/src/LightApp/LightApp_Selection.h +++ b/src/LightApp/LightApp_Selection.h @@ -59,6 +59,7 @@ protected: LightApp_Study* study() const { return myStudy; } QString activeViewType() const; SUIT_ViewWindow* activeVW() const; + virtual QString referencedToEntry( const QString& ) const; private: QString myPopupClient; -- 2.39.2