diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/widgets/tqscrollbar.cpp | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqscrollbar.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqscrollbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqscrollbar.cpp b/tqtinterface/qt4/src/widgets/tqscrollbar.cpp index 09d1575..de8c74c 100644 --- a/tqtinterface/qt4/src/widgets/tqscrollbar.cpp +++ b/tqtinterface/qt4/src/widgets/tqscrollbar.cpp @@ -511,7 +511,7 @@ void TQScrollBar::wheelEvent( TQWheelEvent *e ) offset_owner = this; offset = 0; } - if ( e->orientation() != orient && !TQT_TQRECT_OBJECT(rect()).tqcontains(e->pos()) ) + if ( e->orientation() != orient && !TQT_TQRECT_OBJECT(rect()).contains(e->pos()) ) return; e->accept(); int step = TQMIN( TQApplication::wheelScrollLines()*lineStep(), @@ -765,7 +765,7 @@ void TQScrollBar::mouseMoveEvent( TQMouseEvent *e ) r.setRect( r.x() - m, r.y() - 2*m, r.width() + 2*m, r.height() + 4*m ); else r.setRect( r.x() - 2*m, r.y() - m, r.width() + 4*m, r.height() + 2*m ); - if (! r.tqcontains( e->pos())) + if (! r.contains( e->pos())) newSliderPos = sliderStartPos; else newSliderPos = (HORIZONTAL ? e->pos().x() : |