summaryrefslogtreecommitdiffstats
path: root/kmail/searchjob.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kmail/searchjob.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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