From 6171b5113040c768f68b673ec0e8ae2f82c64391 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 7 Jul 2011 21:14:06 +0000 Subject: Rename incorrect instances of tqrepaint[...] to repaint[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkonq/konq_iconviewwidget.cc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'libkonq/konq_iconviewwidget.cc') diff --git a/libkonq/konq_iconviewwidget.cc b/libkonq/konq_iconviewwidget.cc index 2c32b5778..6ab540761 100644 --- a/libkonq/konq_iconviewwidget.cc +++ b/libkonq/konq_iconviewwidget.cc @@ -478,7 +478,7 @@ void KonqIconViewWidget::slotMovieUpdate( const TQRect& rect ) } d->pActiveItem->setPixmapDirect( frame, false, false /*no redraw*/ ); TQRect pixRect = d->pActiveItem->pixmapRect(false); - tqrepaintContents( pixRect.x() + rect.x(), pixRect.y() + rect.y(), rect.width(), rect.height(), false ); + repaintContents( pixRect.x() + rect.x(), pixRect.y() + rect.y(), rect.width(), rect.height(), false ); } } @@ -648,7 +648,7 @@ void KonqIconViewWidget::setIcons( int size, const TQStringList& stopImagePrevie } bool stopAll = !stopImagePreviewFor.isEmpty() && stopImagePreviewFor.first() == "*"; - // Disable tqrepaints that can be triggered by ivi->setIcon(). Since icons are + // Disable repaints that can be triggered by ivi->setIcon(). Since icons are // resized in-place, if the icon size is increasing it can happens that the right // or bottom icons exceed the size of the viewport.. here we prevent the tqrepaint // event that will be triggered in that case. @@ -1703,7 +1703,7 @@ void KonqIconViewWidget::lineupIcons() } // Perform the actual moving - TQRegion tqrepaintRegion; + TQRegion repaintRegion; TQValueList movedItems; for ( i = 0; i < nx; i++ ) { @@ -1722,7 +1722,7 @@ void KonqIconViewWidget::lineupIcons() movedItems.prepend( item ); item->move( newX, newY ); if ( item->rect() != oldRect ) - tqrepaintRegion = tqrepaintRegion.unite( oldRect ); + repaintRegion = repaintRegion.unite( oldRect ); } } delete bin; @@ -1734,16 +1734,16 @@ void KonqIconViewWidget::lineupIcons() if ( newItemWidth ) updateContents(); else { - // Repaint only tqrepaintRegion... - TQMemArray rects = tqrepaintRegion.tqrects(); + // Repaint only repaintRegion... + TQMemArray rects = repaintRegion.tqrects(); for ( uint l = 0; l < rects.count(); l++ ) { kdDebug( 1203 ) << "Repainting (" << rects[l].x() << "," << rects[l].y() << ")\n"; - tqrepaintContents( rects[l], false ); + repaintContents( rects[l], false ); } // Repaint icons that were moved while ( !movedItems.isEmpty() ) { - tqrepaintItem( movedItems.first() ); + repaintItem( movedItems.first() ); movedItems.remove( movedItems.first() ); } } @@ -1760,7 +1760,7 @@ void KonqIconViewWidget::lineupIcons( TQIconView::Arrangement arrangement ) gridValues( &x0, &y0, &dx, &dy, &nxmax, &nymax ); int textHeight = iconTextHeight() * fontMetrics().height(); - TQRegion tqrepaintRegion; + TQRegion repaintRegion; TQValueList movedItems; int nx = 0, ny = 0; @@ -1775,7 +1775,7 @@ void KonqIconViewWidget::lineupIcons( TQIconView::Arrangement arrangement ) movedItems.prepend( item ); item->move( newX, newY ); if ( item->rect() != oldRect ) - tqrepaintRegion = tqrepaintRegion.unite( oldRect ); + repaintRegion = repaintRegion.unite( oldRect ); } if ( arrangement == TQIconView::LeftToRight ) { nx++; @@ -1793,16 +1793,16 @@ void KonqIconViewWidget::lineupIcons( TQIconView::Arrangement arrangement ) } } - // Repaint only tqrepaintRegion... - TQMemArray rects = tqrepaintRegion.tqrects(); + // Repaint only repaintRegion... + TQMemArray rects = repaintRegion.tqrects(); for ( uint l = 0; l < rects.count(); l++ ) { kdDebug( 1203 ) << "Repainting (" << rects[l].x() << "," << rects[l].y() << ")\n"; - tqrepaintContents( rects[l], false ); + repaintContents( rects[l], false ); } // Repaint icons that were moved while ( !movedItems.isEmpty() ) { - tqrepaintItem( movedItems.first() ); + repaintItem( movedItems.first() ); movedItems.remove( movedItems.first() ); } } -- cgit v1.2.1