}
}
-void SUIT_SelectionMgr::selected( SUIT_DataOwnerPtrList& lst ) const
+void SUIT_SelectionMgr::selected( SUIT_DataOwnerPtrList& lst, const QString& type ) const
{
lst.clear();
QMap<const SUIT_DataOwner*, int> map;
for ( SelectorListIterator it( mySelectors ); it.current(); ++it )
{
+ if ( !type.isEmpty() && it.current()->type() != type )
+ continue;
SUIT_DataOwnerPtrList curList;
it.current()->selected( curList );
for ( SUIT_DataOwnerPtrList::const_iterator itr = curList.begin(); itr != curList.end(); ++itr )
virtual ~SUIT_SelectionMgr();
void clearSelected();
- virtual void selected( SUIT_DataOwnerPtrList& ) const;
+ virtual void selected( SUIT_DataOwnerPtrList&, const QString& = QString::null ) const;
virtual void setSelected( const SUIT_DataOwnerPtrList&, const bool = false );
virtual void installSelector( SUIT_Selector* );