summaryrefslogtreecommitdiffstats
path: root/kmail/folderviewtooltip.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/folderviewtooltip.h
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
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
Diffstat (limited to 'kmail/folderviewtooltip.h')
-rw-r--r--kmail/folderviewtooltip.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/folderviewtooltip.h b/kmail/folderviewtooltip.h
index 24f9fbbec..ee813bf47 100644
--- a/kmail/folderviewtooltip.h
+++ b/kmail/folderviewtooltip.h
@@ -20,8 +20,8 @@ class FolderViewToolTip : public QToolTip
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,7 +32,7 @@ class FolderViewToolTip : public QToolTip
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->folder()->prettyURL().tqreplace( " ", "&nbsp;" ) )
.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("<br>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: