summaryrefslogtreecommitdiffstats
path: root/kmail/favoritefolderview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kmail/favoritefolderview.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
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 e1689a9af..6715f4865 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();
}