summaryrefslogtreecommitdiffstats
path: root/kmail/folderviewtooltip.h
diff options
context:
space:
mode:
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: