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/listjob.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/listjob.cpp')
-rw-r--r-- | kmail/listjob.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/listjob.cpp b/kmail/listjob.cpp index 67a21fc65..79efe49c6 100644 --- a/kmail/listjob.cpp +++ b/kmail/listjob.cpp @@ -142,13 +142,13 @@ void ListJob::execute() + section ); // go //kdDebug(5006) << "start listjob for " << url.path() << endl; - KIO::SimpleJob *job = KIO::listDir( url, false ); - KIO::Scheduler::assignJobToSlave( mAccount->slave(), job ); + TDEIO::SimpleJob *job = TDEIO::listDir( url, false ); + TDEIO::Scheduler::assignJobToSlave( mAccount->slave(), job ); mAccount->insertJob( job, jd ); - connect( job, TQT_SIGNAL(result(KIO::Job *)), - this, TQT_SLOT(slotListResult(KIO::Job *)) ); - connect( job, TQT_SIGNAL(entries(KIO::Job *, const KIO::UDSEntryList &)), - this, TQT_SLOT(slotListEntries(KIO::Job *, const KIO::UDSEntryList &)) ); + connect( job, TQT_SIGNAL(result(TDEIO::Job *)), + this, TQT_SLOT(slotListResult(TDEIO::Job *)) ); + connect( job, TQT_SIGNAL(entries(TDEIO::Job *, const TDEIO::UDSEntryList &)), + this, TQT_SLOT(slotListEntries(TDEIO::Job *, const TDEIO::UDSEntryList &)) ); } void ListJob::slotConnectionResult( int errorCode, const TQString& errorMsg ) @@ -163,7 +163,7 @@ void ListJob::slotConnectionResult( int errorCode, const TQString& errorMsg ) } } -void ListJob::slotListResult( KIO::Job* job ) +void ListJob::slotListResult( TDEIO::Job* job ) { ImapAccountBase::JobIterator it = mAccount->findJob( job ); if ( it == mAccount->jobsEnd() ) @@ -186,7 +186,7 @@ void ListJob::slotListResult( KIO::Job* job ) delete this; } -void ListJob::slotListEntries( KIO::Job* job, const KIO::UDSEntryList& uds ) +void ListJob::slotListEntries( TDEIO::Job* job, const TDEIO::UDSEntryList& uds ) { ImapAccountBase::JobIterator it = mAccount->findJob( job ); if ( it == mAccount->jobsEnd() ) @@ -200,22 +200,22 @@ void ListJob::slotListEntries( KIO::Job* job, const KIO::UDSEntryList& uds ) KURL url; TQString mimeType; TQString attributes; - for ( KIO::UDSEntryList::ConstIterator udsIt = uds.begin(); + for ( TDEIO::UDSEntryList::ConstIterator udsIt = uds.begin(); udsIt != uds.end(); udsIt++ ) { mimeType = TQString(); attributes = TQString(); - for ( KIO::UDSEntry::ConstIterator eIt = (*udsIt).begin(); + for ( TDEIO::UDSEntry::ConstIterator eIt = (*udsIt).begin(); eIt != (*udsIt).end(); eIt++ ) { // get the needed information - if ( (*eIt).m_uds == KIO::UDS_NAME ) + if ( (*eIt).m_uds == TDEIO::UDS_NAME ) name = (*eIt).m_str; - else if ( (*eIt).m_uds == KIO::UDS_URL ) + else if ( (*eIt).m_uds == TDEIO::UDS_URL ) url = KURL((*eIt).m_str, 106); // utf-8 - else if ( (*eIt).m_uds == KIO::UDS_MIME_TYPE ) + else if ( (*eIt).m_uds == TDEIO::UDS_MIME_TYPE ) mimeType = (*eIt).m_str; - else if ( (*eIt).m_uds == KIO::UDS_EXTRA ) + else if ( (*eIt).m_uds == TDEIO::UDS_EXTRA ) attributes = (*eIt).m_str; } if ( (mimeType == "inode/directory" || mimeType == "message/digest" |