X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_Selection.cpp;h=ed54a60a27ab034ff8100903077474cb28b4320a;hb=827d67208d2bb221aebe9adb9ef4a4c914789136;hp=a8972a47dc429ca9258075d1a61998e2b9cba468;hpb=00a3c1675ca0ead43040cafa3a99f984e1d8177b;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Selection.cpp b/src/XGUI/XGUI_Selection.cpp index a8972a47d..ed54a60a2 100644 --- a/src/XGUI/XGUI_Selection.cpp +++ b/src/XGUI/XGUI_Selection.cpp @@ -309,11 +309,6 @@ QObjectPtrList XGUI_Selection::selectedObjects() const return QObjectPtrList(); } -void XGUI_Selection::setSelectedObjects( const QObjectPtrList& theObjects ) const -{ - return myWorkshop->objectBrowser()->setObjectsSelected( theObjects ); -} - QObjectPtrList XGUI_Selection::selectedPresentations() const { QObjectPtrList aSelectedList; @@ -336,18 +331,6 @@ QModelIndexList XGUI_Selection::selectedIndexes() const return myWorkshop->objectBrowser()->selectedIndexes(); } -//************************************************************** -void XGUI_Selection::selectedAISObjects(AIS_ListOfInteractive& theList) const -{ - theList.Clear(); - - Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext(); - if (!aContext.IsNull()) { - for (aContext->InitSelected(); aContext->MoreSelected(); aContext->NextSelected()) - theList.Append(aContext->SelectedInteractive()); - } -} - //************************************************************** ObjectPtr XGUI_Selection::getSelectableObject(const Handle(SelectMgr_EntityOwner)& theOwner) const {