summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filethumbnailviewitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:55:46 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:55:46 -0600
commit676f6ed378c861a872de8cfce3dd5efe1780f769 (patch)
treed2b21aa5311322aadc3c5c64a4932fdf371acc98 /src/gvcore/filethumbnailviewitem.cpp
parent2b7143e0539396c75306f6e78bf0a5641ed1acfc (diff)
downloadgwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.tar.gz
gwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b7143e0539396c75306f6e78bf0a5641ed1acfc.
Diffstat (limited to 'src/gvcore/filethumbnailviewitem.cpp')
-rw-r--r--src/gvcore/filethumbnailviewitem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gvcore/filethumbnailviewitem.cpp b/src/gvcore/filethumbnailviewitem.cpp
index cd607b7..65da494 100644
--- a/src/gvcore/filethumbnailviewitem.cpp
+++ b/src/gvcore/filethumbnailviewitem.cpp
@@ -271,16 +271,16 @@ void FileThumbnailViewItem::calcRect(const TQString&) {
textH+=(*it)->height();
}
- TQRect itemRect(x(), y(), view->gridX(), 0);
+ TQRect tqitemRect(x(), y(), view->gridX(), 0);
TQRect itemPixmapRect(PADDING, PADDING, thumbnailSize, thumbnailSize);
TQRect itemTextRect(0, 0, textW, textH);
if (isRight) {
- itemRect.setHeight( TQMAX(thumbnailSize + PADDING*2, textH) );
+ tqitemRect.setHeight( TQMAX(thumbnailSize + PADDING*2, textH) );
itemTextRect.moveLeft(thumbnailSize + PADDING * 2 );
- itemTextRect.moveTop((itemRect.height() - textH)/2);
+ itemTextRect.moveTop((tqitemRect.height() - textH)/2);
} else {
- itemPixmapRect.moveLeft( (itemRect.width() - itemPixmapRect.width()) / 2 );
- itemRect.setHeight(thumbnailSize + PADDING*3 + textH);
+ itemPixmapRect.moveLeft( (tqitemRect.width() - itemPixmapRect.width()) / 2 );
+ tqitemRect.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 ( itemRect != rect() ) {
- setItemRect( itemRect );
+ if ( tqitemRect != rect() ) {
+ setItemRect( tqitemRect );
}
}