summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldertree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldertree.cpp')
-rw-r--r--kmail/kmfoldertree.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index aef19abe..63010f9b 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -267,14 +267,14 @@ void KMFolderTreeItem::slotIconsChanged()
else
setPixmap( 0, normalIcon( iconSize() ) );
emit iconChanged( this );
- tqrepaint();
+ repaint();
}
void KMFolderTreeItem::slotNameChanged()
{
setText( 0, mFolder->label() );
emit nameChanged( this );
- tqrepaint();
+ repaint();
}
void KMFolderTreeItem::slotNoContentChanged()
@@ -495,7 +495,7 @@ void KMFolderTree::readConfig (void)
setFont(KGlobalSettings::generalFont());
}
- // restore the tqlayout
+ // restore the layout
restoreLayout(conf, "Geometry");
}
@@ -510,7 +510,7 @@ void KMFolderTree::writeConfig()
writeIsListViewItemOpen(fti);
}
- // save the current tqlayout
+ // save the current layout
saveLayout(KMKernel::config(), "Geometry");
}
@@ -556,7 +556,7 @@ void KMFolderTree::reload(bool openFolders)
int top = contentsY();
mLastItem = 0;
- // tqinvalidate selected drop item
+ // invalidate selected drop item
oldSelected = 0;
// remember last
KMFolder* last = currentFolder();
@@ -743,7 +743,7 @@ void KMFolderTree::addDirectory( KMFolderDir *fdir, KMFolderTreeItem* parent )
// create new child
fti = new KMFolderTreeItem( parent, folder->label(), folder );
- // set folders explicitely to exandable when they have tqchildren
+ // set folders explicitely to exandable when they have children
// this way we can do a listing for IMAP folders when the user expands them
// even when the child folders are not created yet
if ( folder->storage()->hasChildren() == FolderStorage::HasChildren ) {
@@ -800,7 +800,7 @@ void KMFolderTree::delayedUpdate()
continue;
if ( fti->needsRepaint() ) {
- fti->tqrepaint();
+ fti->repaint();
fti->setNeedsRepaint( false );
}
}
@@ -918,7 +918,7 @@ bool KMFolderTree::checkUnreadFolder (KMFolderTreeItem* fti, bool confirm)
// parameter (kept in the config file for kmail)
if ( KMessageBox::questionYesNo( this,
i18n( "<qt>Go to the next unread message in folder <b>%1</b>?</qt>" )
- .tqarg( fti->folder()->label() ),
+ .arg( fti->folder()->label() ),
i18n( "Go to Next Unread Message" ),
i18n("Go To"), i18n("Do Not Go To"), // defaults
"AskNextFolder",
@@ -1280,7 +1280,7 @@ void KMFolderTree::addChildFolder( KMFolder *folder, TQWidget * parent )
const TQString message = i18n( "<qt>Cannot create folder under <b>%1</b> because of insufficient "
"permissions on the server. If you think you should be able to create "
"subfolders here, ask your administrator to grant you rights to do so."
- "</qt> " ).tqarg(aFolder->label());
+ "</qt> " ).arg(aFolder->label());
KMessageBox::error( this, message );
return;
}
@@ -1419,7 +1419,7 @@ void KMFolderTree::openFolder()
autoopen_timer.stop();
if ( dropItem && !dropItem->isOpen() ) {
dropItem->setOpen( true );
- dropItem->tqrepaint();
+ dropItem->repaint();
}
}
@@ -1467,7 +1467,7 @@ void KMFolderTree::contentsDragMoveEvent( TQDragMoveEvent *e )
}
if ( dragAccepted ) {
- e->accept( tqitemRect(i) );
+ e->accept( itemRect(i) );
switch ( e->action() ) {
case TQDropEvent::Copy:
@@ -1987,7 +1987,7 @@ void KMFolderTree::moveOrCopyFolder( TQValueList<TQGuardedPtr<KMFolder> > source
if ( parent->hasNamedFolder( sourceFolderName ) || sourceFolderNames.contains( sourceFolderName ) ) {
KMessageBox::error( this, i18n("<qt>Cannot move or copy folder <b>%1</b> here because a folder with the same name already exists.</qt>")
- .tqarg( sourceFolderName ) );
+ .arg( sourceFolderName ) );
setDragEnabled( true );
return;
}
@@ -1998,7 +1998,7 @@ void KMFolderTree::moveOrCopyFolder( TQValueList<TQGuardedPtr<KMFolder> > source
while ( f ) {
if ( f->moveInProgress() ) {
KMessageBox::error( this, i18n("<qt>Cannot move or copy folder <b>%1</b> because it is not completely copied itself.</qt>")
- .tqarg( sourceFolderName ) );
+ .arg( sourceFolderName ) );
setDragEnabled( true );
return;
}