diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:59:01 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:24:39 +0200 |
commit | ad4317e2e02c018dcfb6c49259cfdf580637f5bd (patch) | |
tree | 4ff3110491ed677d979aca9a5711507195a66715 /kmail/favoritefolderview.cpp | |
parent | e3649f744289c180537d2d8474dc0e39050e654f (diff) | |
download | tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.tar.gz tdepim-ad4317e2e02c018dcfb6c49259cfdf580637f5bd.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 716a5de8870d7c02bb4d0aed72f30291b17b763a)
Diffstat (limited to 'kmail/favoritefolderview.cpp')
-rw-r--r-- | kmail/favoritefolderview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/favoritefolderview.cpp b/kmail/favoritefolderview.cpp index 148c2278f..adcef01d9 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->tqrepaint(); + item->repaint(); handleGroupwareFolder( static_cast<KMFolderTreeItem*>( item ) ); } @@ -267,11 +267,11 @@ void FavoriteFolderView::folderTreeSelectionChanged(KMFolder * folder) fti->setSelected( true ); setCurrentItem( fti ); ensureItemVisible( fti ); - fti->tqrepaint(); + fti->repaint(); found = true; } else if ( fti->folder() != folder && fti->isSelected() ) { fti->setSelected( false ); - fti->tqrepaint(); + fti->repaint(); } } 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" ).tqarg( accountFti->text( 0 ) ); + name = i18n( "Inbox of %1" ).arg( accountFti->text( 0 ) ); } } else { if ( fti->protocol() != KFolderTreeItem::Local && fti->protocol() != KFolderTreeItem::NONE ) { - name = i18n( "%1 on %2" ).tqarg( fti->text( 0 ) ).tqarg( accountFti->text( 0 ) ); + name = i18n( "%1 on %2" ).arg( fti->text( 0 ) ).arg( accountFti->text( 0 ) ); } else { - name = i18n( "%1 (local)" ).tqarg( fti->text( 0 ) ); + name = i18n( "%1 (local)" ).arg( 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->tqrepaint(); + fti->repaint(); } update(); } |