diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:08:43 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 01:52:57 +0200 |
commit | 90ed42be7905e495737a4d7af3b9510ade86ea9b (patch) | |
tree | aef7d8c2ee2480bad8c653c664a711147d693408 /src/gvcore/filethumbnailviewitem.cpp | |
parent | 9206e76d77b57205dd514e5a66da50b09fe26fc1 (diff) | |
download | gwenview-90ed42be7905e495737a4d7af3b9510ade86ea9b.tar.gz gwenview-90ed42be7905e495737a4d7af3b9510ade86ea9b.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit d0bdd0d7a768f9935b521f3bd12a4cd72739b96f)
Diffstat (limited to 'src/gvcore/filethumbnailviewitem.cpp')
-rw-r--r-- | src/gvcore/filethumbnailviewitem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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 ); } } |