summaryrefslogtreecommitdiffstats
path: root/kmail/favoritefolderview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/favoritefolderview.cpp')
-rw-r--r--kmail/favoritefolderview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/favoritefolderview.cpp b/kmail/favoritefolderview.cpp
index 6715f486..e1689a9a 100644
--- a/kmail/favoritefolderview.cpp
+++ b/kmail/favoritefolderview.cpp
@@ -253,7 +253,7 @@ void FavoriteFolderView::itemClicked(TQListViewItem * item)
if ( !item ) return;
if ( !item->isSelected() )
item->setSelected( true );
- item->repaint();
+ item->tqrepaint();
handleGroupwareFolder( static_cast<KMFolderTreeItem*>( item ) );
}
@@ -267,11 +267,11 @@ void FavoriteFolderView::folderTreeSelectionChanged(KMFolder * folder)
fti->setSelected( true );
setCurrentItem( fti );
ensureItemVisible( fti );
- fti->repaint();
+ fti->tqrepaint();
found = true;
} else if ( fti->folder() != folder && fti->isSelected() ) {
fti->setSelected( false );
- fti->repaint();
+ fti->tqrepaint();
}
}
blockSignals( false );
@@ -405,13 +405,13 @@ TQString FavoriteFolderView::prettyName(KMFolderTreeItem * fti)
if ( fti->protocol() == KFolderTreeItem::Local || fti->protocol() == KFolderTreeItem::NONE ) {
name = i18n( "Local Inbox" );
} else {
- name = i18n( "Inbox of %1" ).arg( accountFti->text( 0 ) );
+ name = i18n( "Inbox of %1" ).tqarg( accountFti->text( 0 ) );
}
} else {
if ( fti->protocol() != KFolderTreeItem::Local && fti->protocol() != KFolderTreeItem::NONE ) {
- name = i18n( "%1 on %2" ).arg( fti->text( 0 ) ).arg( accountFti->text( 0 ) );
+ name = i18n( "%1 on %2" ).tqarg( fti->text( 0 ) ).tqarg( accountFti->text( 0 ) );
} else {
- name = i18n( "%1 (local)" ).arg( fti->text( 0 ) );
+ name = i18n( "%1 (local)" ).tqarg( fti->text( 0 ) );
}
}
return name;
@@ -524,7 +524,7 @@ void FavoriteFolderView::refresh()
KMFolderTreeItem* fti = static_cast<KMFolderTreeItem*>(it.current());
if (!fti || !fti->folder())
continue;
- fti->repaint();
+ fti->tqrepaint();
}
update();
}