diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kmail/renamejob.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kmail/renamejob.cpp')
-rw-r--r-- | kmail/renamejob.cpp | 14 |
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 ) { |