Skip to content

Commit 4cd8ee9

Browse files
author
alosi
committed
Change method name to sliderCallback() (issue #4)
1 parent 13a8e95 commit 4cd8ee9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Libs/Qt/Widgets/msvQVTKButtonsGroup.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ vtkSliderWidget* msvQVTKButtonsGroupPrivate::slider()
249249
m_Slider->SetRepresentation(sliderRep);
250250
m_Slider->SetAnimationModeToAnimate();
251251
sliderRep->Delete();
252-
m_Slider->AddObserver(vtkCommand::InteractionEvent,q->getSliderCallback());
252+
m_Slider->AddObserver(vtkCommand::InteractionEvent,q->sliderCallback());
253253
}
254254
return m_Slider;
255255
}
@@ -467,7 +467,7 @@ void msvQVTKButtonsGroup::setCameraPoistionOnPath(double ratio) {
467467
}
468468

469469
//------------------------------------------------------------------------------
470-
vtkCommand* msvQVTKButtonsGroup::getSliderCallback()
470+
vtkCommand* msvQVTKButtonsGroup::sliderCallback() const
471471
{
472472
return m_SliderCallback;
473473
}

Libs/Qt/Widgets/msvQVTKButtonsGroup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class MSV_QT_WIDGETS_EXPORT msvQVTKButtonsGroup : public msvQVTKButtonsInterface
9393
/// Set the position on the path at the specified ratio
9494
void setCameraPoistionOnPath(double ratio);
9595

96-
vtkCommand *getSliderCallback();
96+
vtkCommand *sliderCallback() const;
9797

9898
public slots:
9999

0 commit comments

Comments
 (0)