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