diff options
Diffstat (limited to 'kmail/kmacctimap.cpp')
-rw-r--r-- | kmail/kmacctimap.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmacctimap.cpp b/kmail/kmacctimap.cpp index e57543d30..a70091e79 100644 --- a/kmail/kmacctimap.cpp +++ b/kmail/kmacctimap.cpp @@ -70,7 +70,7 @@ KMAcctImap::KMAcctImap(AccountManager* aOwner, const TQString& aAccountName, uin TQString serNumUri = locateLocal( "data", "kmail/unfiltered." + TQString("%1").arg(KAccount::id()) ); - KConfig config( serNumUri ); + TDEConfig config( serNumUri ); TQStringList serNums = config.readListEntry( "unfiltered" ); mFilterSerNumsToSave.setAutoDelete( false ); @@ -89,7 +89,7 @@ KMAcctImap::~KMAcctImap() TQString serNumUri = locateLocal( "data", "kmail/unfiltered." + TQString("%1").arg(KAccount::id()) ); - KConfig config( serNumUri ); + TDEConfig config( serNumUri ); TQStringList serNums; TQDictIterator<int> it( mFilterSerNumsToSave ); for( ; it.current(); ++it ) @@ -125,10 +125,10 @@ void KMAcctImap::setImapFolder(KMFolderImap *aFolder) //----------------------------------------------------------------------------- -bool KMAcctImap::handleError( int errorCode, const TQString &errorMsg, KIO::Job* job, const TQString& context, bool abortSync ) +bool KMAcctImap::handleError( int errorCode, const TQString &errorMsg, TDEIO::Job* job, const TQString& context, bool abortSync ) { /* TODO check where to handle this one better. */ - if ( errorCode == KIO::ERR_DOES_NOT_EXIST ) { + if ( errorCode == TDEIO::ERR_DOES_NOT_EXIST ) { // folder is gone, so reload the folderlist if ( mFolder ) mFolder->listDirectory(); @@ -141,7 +141,7 @@ bool KMAcctImap::handleError( int errorCode, const TQString &errorMsg, KIO::Job* //----------------------------------------------------------------------------- void KMAcctImap::killAllJobs( bool disconnectSlave ) { - TQMap<KIO::Job*, jobData>::Iterator it = mapJobData.begin(); + TQMap<TDEIO::Job*, jobData>::Iterator it = mapJobData.begin(); for ( ; it != mapJobData.end(); ++it) { TQPtrList<KMMessage> msgList = (*it).msgList; @@ -193,7 +193,7 @@ void KMAcctImap::killAllJobs( bool disconnectSlave ) mCountRemainChecks = 0; } if ( disconnectSlave && slave() ) { - KIO::Scheduler::disconnectSlave( slave() ); + TDEIO::Scheduler::disconnectSlave( slave() ); mSlave = 0; } } @@ -233,9 +233,9 @@ void KMAcctImap::ignoreJobsForFolder( KMFolder* folder ) void KMAcctImap::removeSlaveJobsForFolder( KMFolder* folder ) { // Make sure the folder is not referenced in any kio slave jobs - TQMap<KIO::Job*, jobData>::Iterator it = mapJobData.begin(); + TQMap<TDEIO::Job*, jobData>::Iterator it = mapJobData.begin(); while ( it != mapJobData.end() ) { - TQMap<KIO::Job*, jobData>::Iterator i = it; + TQMap<TDEIO::Job*, jobData>::Iterator i = it; it++; if ( (*i).parent ) { if ( (*i).parent == folder ) { @@ -250,7 +250,7 @@ void KMAcctImap::cancelMailCheck() { // Make list of folders to reset, like in killAllJobs TQValueList<KMFolderImap*> folderList; - TQMap<KIO::Job*, jobData>::Iterator it = mapJobData.begin(); + TQMap<TDEIO::Job*, jobData>::Iterator it = mapJobData.begin(); for (; it != mapJobData.end(); ++it) { if ( (*it).cancellable && (*it).parent ) { folderList << static_cast<KMFolderImap*>((*it).parent->storage()); @@ -533,7 +533,7 @@ void KMAcctImap::listDirectory() } //----------------------------------------------------------------------------- -void KMAcctImap::readConfig(KConfig& config) +void KMAcctImap::readConfig(TDEConfig& config) { ImapAccountBase::readConfig( config ); } |