summaryrefslogtreecommitdiffstats
path: root/kmail/searchjob.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /kmail/searchjob.cpp
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmail/searchjob.cpp')
-rw-r--r--kmail/searchjob.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kmail/searchjob.cpp b/kmail/searchjob.cpp
index b0b1d9def..7b0b55584 100644
--- a/kmail/searchjob.cpp
+++ b/kmail/searchjob.cpp
@@ -92,10 +92,10 @@ void SearchJob::searchCompleteFolder()
if ( mFolder->imapPath() != TQString( "/" ) )
{
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 * ) ) );
+ connect( job, TQ_SIGNAL( infoMessage( TDEIO::Job*, const TQString& ) ),
+ TQ_SLOT( slotSearchData( TDEIO::Job*, const TQString& ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotSearchResult( TDEIO::Job * ) ) );
}
else
{ // for the "/ folder" of an imap account, searching blocks the tdeioslave
@@ -199,8 +199,8 @@ void SearchJob::slotSearchData( TDEIO::Job* job, const TQString& data )
} else
{
// get the folder to make sure we have all messages
- connect ( mFolder, TQT_SIGNAL( folderComplete( KMFolderImap*, bool ) ),
- this, TQT_SLOT( slotSearchFolder()) );
+ connect ( mFolder, TQ_SIGNAL( folderComplete( KMFolderImap*, bool ) ),
+ this, TQ_SLOT( slotSearchFolder()) );
mFolder->getFolder();
}
}
@@ -221,8 +221,8 @@ bool SearchJob::canMapAllUIDs()
//-----------------------------------------------------------------------------
void SearchJob::slotSearchFolder()
{
- disconnect ( mFolder, TQT_SIGNAL( folderComplete( KMFolderImap*, bool ) ),
- this, TQT_SLOT( slotSearchFolder()) );
+ disconnect ( mFolder, TQ_SIGNAL( folderComplete( KMFolderImap*, bool ) ),
+ this, TQ_SLOT( slotSearchFolder()) );
if ( mLocalSearchPattern->isEmpty() ) {
// pure imap search - now get the serial number for the UIDs
@@ -271,8 +271,8 @@ void SearchJob::slotSearchFolder()
true,
mAccount->useSSL() || mAccount->useTLS() );
mProgress->setTotalItems( numMsgs );
- connect ( mProgress, TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem*)),
- this, TQT_SLOT( slotAbortSearch( KPIM::ProgressItem* ) ) );
+ connect ( mProgress, TQ_SIGNAL( progressItemCanceled( KPIM::ProgressItem*)),
+ this, TQ_SLOT( slotAbortSearch( KPIM::ProgressItem* ) ) );
for ( unsigned int i = 0; i < numMsgs ; ++i ) {
KMMessage * msg = mFolder->getMsg( i );
@@ -280,8 +280,8 @@ void SearchJob::slotSearchFolder()
ImapJob *job = new ImapJob( msg );
job->setParentFolder( mFolder );
job->setParentProgressItem( mProgress );
- connect( job, TQT_SIGNAL(messageRetrieved(KMMessage*)),
- this, TQT_SLOT(slotSearchMessageArrived(KMMessage*)) );
+ connect( job, TQ_SIGNAL(messageRetrieved(KMMessage*)),
+ this, TQ_SLOT(slotSearchMessageArrived(KMMessage*)) );
job->start();
} else {
slotSearchMessageArrived( msg );
@@ -387,10 +387,10 @@ void SearchJob::searchSingleMessage()
stream << (int) 'E' << url;
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 *)) );
+ connect( job, TQ_SIGNAL(infoMessage(TDEIO::Job*,const TQString&)),
+ TQ_SLOT(slotSearchDataSingleMessage(TDEIO::Job*,const TQString&)) );
+ connect( job, TQ_SIGNAL(result(TDEIO::Job *)),
+ TQ_SLOT(slotSearchResult(TDEIO::Job *)) );
}
}
@@ -420,8 +420,8 @@ void SearchJob::slotSearchDataSingleMessage( TDEIO::Job* job, const TQString& da
if ( needsDownload() ) {
ImapJob *job = new ImapJob( msg );
job->setParentFolder( mFolder );
- connect( job, TQT_SIGNAL(messageRetrieved(KMMessage*)),
- this, TQT_SLOT(slotSearchMessageArrived(KMMessage*)) );
+ connect( job, TQ_SIGNAL(messageRetrieved(KMMessage*)),
+ this, TQ_SLOT(slotSearchMessageArrived(KMMessage*)) );
job->start();
} else {
slotSearchMessageArrived( msg );