From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/folderviewtooltip.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmail/folderviewtooltip.h') diff --git a/kmail/folderviewtooltip.h b/kmail/folderviewtooltip.h index 24f9fbbe..ee813bf4 100644 --- a/kmail/folderviewtooltip.h +++ b/kmail/folderviewtooltip.h @@ -20,8 +20,8 @@ class FolderViewToolTip : public QToolTip KMFolderTreeItem *item = dynamic_cast( 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,7 +32,7 @@ class FolderViewToolTip : public QToolTip item->updateCount(); TQString tipText = i18n("%1
Total: %2
Unread: %3
Size: %4" ) - .arg( item->folder()->prettyURL().replace( " ", " " ) ) + .arg( item->folder()->prettyURL().tqreplace( " ", " " ) ) .arg( item->totalCount() < 0 ? "-" : TQString::number( item->totalCount() ) ) .arg( item->unreadCount() < 0 ? "-" : TQString::number( item->unreadCount() ) ) .arg( KIO::convertSize( item->folderSize() ) ); @@ -43,7 +43,7 @@ class FolderViewToolTip : public QToolTip tipText += i18n("
Quota: %1").arg( 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: -- cgit v1.2.3