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/tqscrollview.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/tqscrollview.cpp')
-rw-r--r-- | tqtinterface/qt4/src/widgets/tqscrollview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqscrollview.cpp b/tqtinterface/qt4/src/widgets/tqscrollview.cpp index 3ba7eec..dba2bc0 100644 --- a/tqtinterface/qt4/src/widgets/tqscrollview.cpp +++ b/tqtinterface/qt4/src/widgets/tqscrollview.cpp @@ -155,7 +155,7 @@ public: } ~TQScrollViewData(); - TQSVChildRec* rec(TQWidget* w) { return childDict.tqfind(w); } + TQSVChildRec* rec(TQWidget* w) { return childDict.find(w); } TQSVChildRec* ancestorRec(TQWidget* w); TQSVChildRec* addChildRec(TQWidget* w, int x, int y ) { @@ -1525,7 +1525,7 @@ bool TQScrollView::eventFilter( TQObject *obj, TQEvent *e ) TQRect inside_margin( autoscroll_margin, autoscroll_margin, visibleWidth() - autoscroll_margin * 2, visibleHeight() - autoscroll_margin * 2 ); - if ( !inside_margin.tqcontains( vp ) ) { + if ( !inside_margin.contains( vp ) ) { startDragAutoScroll(); // Keep sending move events ( (TQDragMoveEvent*)e )->accept( TQRect(0,0,0,0) ); @@ -2550,7 +2550,7 @@ bool TQScrollView::focusNextPrevChild( bool next ) w = next ? f->next() : f->prev(); } - // if we could not tqfind one, maybe super or parentWidget() can? + // if we could not find one, maybe super or parentWidget() can? if ( !candidate ) return TQFrame::focusNextPrevChild( next ); |