diff options
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqslider.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqslider.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqslider.cpp b/tqtinterface/qt4/src/widgets/tqslider.cpp index 9d3ece2..4ba2515 100644 --- a/tqtinterface/qt4/src/widgets/tqslider.cpp +++ b/tqtinterface/qt4/src/widgets/tqslider.cpp @@ -438,7 +438,7 @@ void TQSlider::mousePressEvent( TQMouseEvent *e ) if ( e->button() == Qt::RightButton ) return; - if ( r.tqcontains( e->pos() ) ) { + if ( r.contains( e->pos() ) ) { state = Dragging; clickOffset = (TQCOORD)( goodPart( e->pos() ) - sliderPos ); emit sliderPressed(); @@ -495,7 +495,7 @@ void TQSlider::mouseMoveEvent( TQMouseEvent *e ) else r.setRect( r.x() - 2*m/3, r.y() - m, r.width() + 3*m, r.height() + 2*m ); - if ( !r.tqcontains( e->pos() ) ) { + if ( !r.contains( e->pos() ) ) { moveSlider( positionFromValue(d->sliderStartVal) ); return; } @@ -511,7 +511,7 @@ void TQSlider::mouseMoveEvent( TQMouseEvent *e ) #ifndef TQT_NO_WHEELEVENT void TQSlider::wheelEvent( TQWheelEvent * e ) { - if ( e->orientation() != orientation() && !TQT_TQRECT_OBJECT(rect()).tqcontains(e->pos()) ) + if ( e->orientation() != orientation() && !TQT_TQRECT_OBJECT(rect()).contains(e->pos()) ) return; static float offset = 0; |