summaryrefslogtreecommitdiffstats
path: root/kmail/renamejob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/renamejob.cpp')
-rw-r--r--kmail/renamejob.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/renamejob.cpp b/kmail/renamejob.cpp
index 7715c5871..5e2a43d3f 100644
--- a/kmail/renamejob.cpp
+++ b/kmail/renamejob.cpp
@@ -143,18 +143,18 @@ void RenameJob::execute()
src.setPath( mOldImapPath );
KURL dst( account->getUrl() );
dst.setPath( mNewImapPath );
- KIO::SimpleJob *job = KIO::rename( src, dst, true );
+ TDEIO::SimpleJob *job = TDEIO::rename( src, dst, true );
kdDebug(5006)<< "RenameJob::rename - " << src.prettyURL()
<< " |=> " << dst.prettyURL() << endl;
ImapAccountBase::jobData jd( src.url() );
account->insertJob( job, jd );
- KIO::Scheduler::assignJobToSlave( account->slave(), job );
- connect( job, TQT_SIGNAL(result(KIO::Job*)),
- TQT_SLOT(slotRenameResult(KIO::Job*)) );
+ TDEIO::Scheduler::assignJobToSlave( account->slave(), job );
+ connect( job, TQT_SIGNAL(result(TDEIO::Job*)),
+ TQT_SLOT(slotRenameResult(TDEIO::Job*)) );
}
}
-void RenameJob::slotRenameResult( KIO::Job *job )
+void RenameJob::slotRenameResult( TDEIO::Job *job )
{
ImapAccountBase* account = static_cast<KMFolderImap*>(mStorage)->account();
ImapAccountBase::JobIterator it = account->findJob(job);
@@ -208,9 +208,9 @@ void RenameJob::folderCopyComplete(bool success)
// move complete or not necessary
// save our settings
TQString oldconfig = "Folder-" + mStorage->folder()->idString();
- KConfig* config = KMKernel::config();
+ TDEConfig* config = KMKernel::config();
TQMap<TQString, TQString> entries = config->entryMap( oldconfig );
- KConfigGroupSaver saver(config, "Folder-" + mNewFolder->idString());
+ TDEConfigGroupSaver saver(config, "Folder-" + mNewFolder->idString());
for ( TQMap<TQString, TQString>::Iterator it = entries.begin();
it != entries.end(); ++it )
{