diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | ff8c66f117613688a0979d2296cbf6c778136419 (patch) | |
tree | e08685a8a074de43b2d5a890eb2038575ddbd119 /src/gvcore/imageview.cpp | |
parent | 362662842b9a5b2c51d442b69b69c06ddb60994c (diff) | |
download | gwenview-ff8c66f117613688a0979d2296cbf6c778136419.tar.gz gwenview-ff8c66f117613688a0979d2296cbf6c778136419.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r-- | src/gvcore/imageview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp index e91673b..8bc670b 100644 --- a/src/gvcore/imageview.cpp +++ b/src/gvcore/imageview.cpp @@ -662,12 +662,12 @@ void ImageView::addPendingPaintInternal( bool smooth, TQRect rect ) { // handle the case of two different paints at the same position (just in case) key *= 100; bool insert = true; - while( d->mPendingPaints.tqcontains( key )) { - if( d->mPendingPaints[ key ].rect.tqcontains( rect )) { + while( d->mPendingPaints.contains( key )) { + if( d->mPendingPaints[ key ].rect.contains( rect )) { insert = false; break; } - if( rect.tqcontains( d->mPendingPaints[ key ].rect )) { + if( rect.contains( d->mPendingPaints[ key ].rect )) { break; } ++key; @@ -1142,7 +1142,7 @@ void ImageView::slotSelectZoom() { if (currentItem>=int(d->mZoomComboActions.count()) ) { TQString txt=d->mZoomCombo->currentText(); - txt=txt.left(txt.tqfind('%')); + txt=txt.left(txt.find('%')); double value=KGlobal::locale()->readNumber(txt) / 100.0; updateZoom(ZOOM_FREE, value); } else { |