{
if ( myBrowser ) {
connect( myBrowser, SIGNAL( selectionChanged() ), this, SLOT( onSelectionChanged() ) );
- connect( myBrowser, SIGNAL( destroyed() ), this, SLOT( onBrowserDestroyed() ) );
}
}
selectionChanged();
}
-void SalomeApp_OBSelector::onBrowserDestroyed()
-{
- delete this;
-}
-
void SalomeApp_OBSelector::fillEntries( QMap<QString, SalomeApp_DataObject*>& entires )
{
entires.clear();
OB_Browser* browser() const;
- void setBrowser(OB_Browser* theBrowser);
-
virtual QString type() const { return "ObjectBrowser"; }
private slots:
void onSelectionChanged();
- void onBrowserDestroyed();
protected:
virtual void getSelection( SUIT_DataOwnerPtrList& ) const;