From 2b7143e0539396c75306f6e78bf0a5641ed1acfc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:45 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/gvcore/filethumbnailviewitem.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gvcore/filethumbnailviewitem.cpp') diff --git a/src/gvcore/filethumbnailviewitem.cpp b/src/gvcore/filethumbnailviewitem.cpp index 65da494..cd607b7 100644 --- a/src/gvcore/filethumbnailviewitem.cpp +++ b/src/gvcore/filethumbnailviewitem.cpp @@ -271,16 +271,16 @@ void FileThumbnailViewItem::calcRect(const TQString&) { textH+=(*it)->height(); } - TQRect tqitemRect(x(), y(), view->gridX(), 0); + TQRect itemRect(x(), y(), view->gridX(), 0); TQRect itemPixmapRect(PADDING, PADDING, thumbnailSize, thumbnailSize); TQRect itemTextRect(0, 0, textW, textH); if (isRight) { - tqitemRect.setHeight( TQMAX(thumbnailSize + PADDING*2, textH) ); + itemRect.setHeight( TQMAX(thumbnailSize + PADDING*2, textH) ); itemTextRect.moveLeft(thumbnailSize + PADDING * 2 ); - itemTextRect.moveTop((tqitemRect.height() - textH)/2); + itemTextRect.moveTop((itemRect.height() - textH)/2); } else { - itemPixmapRect.moveLeft( (tqitemRect.width() - itemPixmapRect.width()) / 2 ); - tqitemRect.setHeight(thumbnailSize + PADDING*3 + textH); + itemPixmapRect.moveLeft( (itemRect.width() - itemPixmapRect.width()) / 2 ); + itemRect.setHeight(thumbnailSize + PADDING*3 + textH); itemTextRect.moveLeft(PADDING); itemTextRect.moveTop(thumbnailSize + PADDING * 2); } @@ -292,8 +292,8 @@ void FileThumbnailViewItem::calcRect(const TQString&) { if ( itemTextRect != textRect() ) { setTextRect( itemTextRect ); } - if ( tqitemRect != rect() ) { - setItemRect( tqitemRect ); + if ( itemRect != rect() ) { + setItemRect( itemRect ); } } -- cgit v1.2.1