summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqslider.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/widgets/tqslider.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqslider.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqslider.cpp6
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;