summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldertree.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/kmfoldertree.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
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 63010f9b5..aef19abe4 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -267,14 +267,14 @@ void KMFolderTreeItem::slotIconsChanged()
else
setPixmap( 0, normalIcon( iconSize() ) );
emit iconChanged( this );
- repaint();
+ tqrepaint();
}
void KMFolderTreeItem::slotNameChanged()
{
setText( 0, mFolder->label() );
emit nameChanged( this );
- repaint();
+ tqrepaint();
}
void KMFolderTreeItem::slotNoContentChanged()
@@ -495,7 +495,7 @@ void KMFolderTree::readConfig (void)
setFont(KGlobalSettings::generalFont());
}
- // restore the layout
+ // restore the tqlayout
restoreLayout(conf, "Geometry");
}
@@ -510,7 +510,7 @@ void KMFolderTree::writeConfig()
writeIsListViewItemOpen(fti);
}
- // save the current layout
+ // save the current tqlayout
saveLayout(KMKernel::config(), "Geometry");
}
@@ -556,7 +556,7 @@ void KMFolderTree::reload(bool openFolders)
int top = contentsY();
mLastItem = 0;
- // invalidate selected drop item
+ // tqinvalidate 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 children
+ // set folders explicitely to exandable when they have tqchildren
// 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->repaint();
+ fti->tqrepaint();
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>" )
- .arg( fti->folder()->label() ),
+ .tqarg( 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> " ).arg(aFolder->label());
+ "</qt> " ).tqarg(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->repaint();
+ dropItem->tqrepaint();
}
}
@@ -1467,7 +1467,7 @@ void KMFolderTree::contentsDragMoveEvent( TQDragMoveEvent *e )
}
if ( dragAccepted ) {
- e->accept( itemRect(i) );
+ e->accept( tqitemRect(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>")
- .arg( sourceFolderName ) );
+ .tqarg( 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>")
- .arg( sourceFolderName ) );
+ .tqarg( sourceFolderName ) );
setDragEnabled( true );
return;
}