summaryrefslogtreecommitdiffstats
path: root/kmail/folderviewtooltip.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:50 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/folderviewtooltip.h
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kmail/folderviewtooltip.h')
-rw-r--r--kmail/folderviewtooltip.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/folderviewtooltip.h b/kmail/folderviewtooltip.h
index dfc3bbbaf..8e4f56ddd 100644
--- a/kmail/folderviewtooltip.h
+++ b/kmail/folderviewtooltip.h
@@ -20,8 +20,8 @@ class FolderViewToolTip : public TQToolTip
KMFolderTreeItem *item = dynamic_cast<KMFolderTreeItem*>( mListView->itemAt( point ) );
if ( !item )
return;
- const TQRect itemRect = mListView->itemRect( item );
- if ( !itemRect.isValid() )
+ const TQRect tqitemRect = mListView->tqitemRect( item );
+ if ( !tqitemRect.isValid() )
return;
const TQRect headerRect = mListView->header()->sectionRect( 0 );
if ( !headerRect.isValid() )
@@ -32,18 +32,18 @@ class FolderViewToolTip : public TQToolTip
item->updateCount();
TQString tipText = i18n("<qt><b>%1</b><br>Total: %2<br>Unread: %3<br>Size: %4" )
- .arg( item->folder()->prettyURL().replace( " ", "&nbsp;" ) )
- .arg( item->totalCount() < 0 ? "-" : TQString::number( item->totalCount() ) )
- .arg( item->unreadCount() < 0 ? "-" : TQString::number( item->unreadCount() ) )
- .arg( KIO::convertSize( item->folderSize() ) );
+ .tqarg( item->folder()->prettyURL().replace( " ", "&nbsp;" ) )
+ .tqarg( item->totalCount() < 0 ? "-" : TQString::number( item->totalCount() ) )
+ .tqarg( item->unreadCount() < 0 ? "-" : TQString::number( item->unreadCount() ) )
+ .tqarg( KIO::convertSize( item->folderSize() ) );
if ( KMFolderCachedImap* imap = dynamic_cast<KMFolderCachedImap*>( item->folder()->storage() ) ) {
QuotaInfo info = imap->quotaInfo();
if ( info.isValid() && !info.isEmpty() )
- tipText += i18n("<br>Quota: %1").arg( info.toString() );
+ tipText += i18n("<br>Quota: %1").tqarg( info.toString() );
}
- tip( TQRect( headerRect.left(), itemRect.top(), headerRect.width(), itemRect.height() ), tipText );
+ tip( TQRect( headerRect.left(), tqitemRect.top(), headerRect.width(), tqitemRect.height() ), tipText );
}
private: