diff --git a/src/controls/QskSwipeView.cpp b/src/controls/QskSwipeView.cpp index a25cffdb..79ae5217 100644 --- a/src/controls/QskSwipeView.cpp +++ b/src/controls/QskSwipeView.cpp @@ -138,13 +138,13 @@ void QskSwipeView::gestureEvent( QskGestureEvent* event ) Inherited::gestureEvent( event ); } -QskAspect::Subcontrol QskSwipeView::effectiveSubcontrol( +QskAspect::Subcontrol QskSwipeView::substitutedSubcontrol( QskAspect::Subcontrol subControl ) const { if ( subControl == QskBox::Panel ) return QskSwipeView::Panel; - return Inherited::effectiveSubcontrol( subControl ); + return Inherited::substitutedSubcontrol( subControl ); } diff --git a/src/controls/QskSwipeView.h b/src/controls/QskSwipeView.h index 5135a840..11645179 100644 --- a/src/controls/QskSwipeView.h +++ b/src/controls/QskSwipeView.h @@ -49,8 +49,6 @@ class QSK_EXPORT QskSwipeView : public QskStackBox void setSwipeDistance( int ); void resetSwipeDistance(); - QskAspect::Subcontrol effectiveSubcontrol( QskAspect::Subcontrol ) const; - Q_SIGNALS: void orientationChanged( Qt::Orientation ); void durationChanged( int ); @@ -58,6 +56,8 @@ class QSK_EXPORT QskSwipeView : public QskStackBox protected: void gestureEvent( QskGestureEvent* ) override; + QskAspect::Subcontrol substitutedSubcontrol( QskAspect::Subcontrol ) const override; + private: void setAnimator( QskStackBoxAnimator* ) = delete;