summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageview.cpp')
-rw-r--r--src/gvcore/imageview.cpp8
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 {