From: apl Date: Wed, 19 Oct 2016 12:55:20 +0000 (+0300) Subject: Fix signals in MeasureGUI dialog X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b8db699e1027d9145d229e9129c9319ab312e723;p=modules%2Fgeom.git Fix signals in MeasureGUI dialog --- diff --git a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx index b0e199d3d..fa53c1aa0 100644 --- a/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_ManageDimensionsDlg.cxx @@ -228,9 +228,9 @@ void MeasureGUI_ManageDimensionsDlg::StartSelection( const Selection theSelectio myDimensionInteractor->Enable(); connect( myDimensionInteractor, - SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ), + SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ), this, - SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) ); + SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) ); anAISContext->UpdateCurrentViewer(); } @@ -290,9 +290,9 @@ void MeasureGUI_ManageDimensionsDlg::StopSelection() myDimensionInteractor->Disable(); disconnect( myDimensionInteractor, - SIGNAL( InteractionFinished( Handle(AIS_InteractiveObject) ) ), + SIGNAL( InteractionFinished( Handle_AIS_InteractiveObject ) ), this, - SLOT( OnInteractionFinished( Handle(AIS_InteractiveObject) ) ) ); + SLOT( OnInteractionFinished( Handle_AIS_InteractiveObject ) ) ); } myCurrentSelection = Selection_None; @@ -628,7 +628,7 @@ void MeasureGUI_ManageDimensionsDlg::OnHideAll() // function : OnInteractionFinished // purpose : //================================================================================= -void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle(AIS_InteractiveObject) theIO ) +void MeasureGUI_ManageDimensionsDlg::OnInteractionFinished( Handle_AIS_InteractiveObject theIO ) { // update property data SalomeApp_Application* anApp = myGeomGUI->getApp();