summaryrefslogtreecommitdiffstats
path: root/kmail/searchjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/searchjob.cpp')
-rw-r--r--kmail/searchjob.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/searchjob.cpp b/kmail/searchjob.cpp
index 154bfdfe7..6e3040bd2 100644
--- a/kmail/searchjob.cpp
+++ b/kmail/searchjob.cpp
@@ -88,14 +88,14 @@ void SearchJob::searchCompleteFolder()
TQByteArray packedArgs;
TQDataStream stream( packedArgs, IO_WriteOnly );
stream << (int) 'E' << url;
- KIO::SimpleJob *job = KIO::special( url, packedArgs, false );
+ TDEIO::SimpleJob *job = TDEIO::special( url, packedArgs, false );
if ( mFolder->imapPath() != TQString( "/" ) )
{
- KIO::Scheduler::assignJobToSlave( mAccount->slave(), job );
- connect( job, TQT_SIGNAL( infoMessage( KIO::Job*, const TQString& ) ),
- TQT_SLOT( slotSearchData( KIO::Job*, const TQString& ) ) );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotSearchResult( KIO::Job * ) ) );
+ TDEIO::Scheduler::assignJobToSlave( mAccount->slave(), job );
+ connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ TQT_SLOT( slotSearchData( TDEIO::Job*, const TQString& ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotSearchResult( TDEIO::Job * ) ) );
}
else
{ // for the "/ folder" of an imap account, searching blocks the kioslave
@@ -176,7 +176,7 @@ TQString SearchJob::searchStringFromPattern( const KMSearchPattern* pattern )
}
//-----------------------------------------------------------------------------
-void SearchJob::slotSearchData( KIO::Job* job, const TQString& data )
+void SearchJob::slotSearchData( TDEIO::Job* job, const TQString& data )
{
if ( job && job->error() ) {
// error is handled in slotSearchResult
@@ -344,7 +344,7 @@ void SearchJob::slotSearchMessageArrived( KMMessage* msg )
}
//-----------------------------------------------------------------------------
-void SearchJob::slotSearchResult( KIO::Job *job )
+void SearchJob::slotSearchResult( TDEIO::Job *job )
{
if ( job->error() )
{
@@ -385,17 +385,17 @@ void SearchJob::searchSingleMessage()
TQByteArray packedArgs;
TQDataStream stream( packedArgs, IO_WriteOnly );
stream << (int) 'E' << url;
- KIO::SimpleJob *job = KIO::special( url, packedArgs, false );
- KIO::Scheduler::assignJobToSlave(mAccount->slave(), job);
- connect( job, TQT_SIGNAL(infoMessage(KIO::Job*,const TQString&)),
- TQT_SLOT(slotSearchDataSingleMessage(KIO::Job*,const TQString&)) );
- connect( job, TQT_SIGNAL(result(KIO::Job *)),
- TQT_SLOT(slotSearchResult(KIO::Job *)) );
+ TDEIO::SimpleJob *job = TDEIO::special( url, packedArgs, false );
+ TDEIO::Scheduler::assignJobToSlave(mAccount->slave(), job);
+ connect( job, TQT_SIGNAL(infoMessage(TDEIO::Job*,const TQString&)),
+ TQT_SLOT(slotSearchDataSingleMessage(TDEIO::Job*,const TQString&)) );
+ connect( job, TQT_SIGNAL(result(TDEIO::Job *)),
+ TQT_SLOT(slotSearchResult(TDEIO::Job *)) );
}
}
//-----------------------------------------------------------------------------
-void SearchJob::slotSearchDataSingleMessage( KIO::Job* job, const TQString& data )
+void SearchJob::slotSearchDataSingleMessage( TDEIO::Job* job, const TQString& data )
{
if ( job && job->error() ) {
// error is handled in slotSearchResult