diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kmail/searchjob.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/searchjob.cpp')
-rw-r--r-- | kmail/searchjob.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/searchjob.cpp b/kmail/searchjob.cpp index 89dde8214..50bf287d8 100644 --- a/kmail/searchjob.cpp +++ b/kmail/searchjob.cpp @@ -51,7 +51,7 @@ using KPIM::ProgressManager; namespace KMail { SearchJob::SearchJob( KMFolderImap* folder, ImapAccountBase* account, - const KMSearchPattern* pattern, Q_UINT32 serNum ) + const KMSearchPattern* pattern, TQ_UINT32 serNum ) : FolderJob( 0, tOther, (folder ? folder->folder() : 0) ), mFolder( folder ), mAccount( account ), mSearchPattern( pattern ), mSerNum( serNum ), mRemainingMsgs( 0 ), mProgress( 0 ), @@ -186,7 +186,7 @@ void SearchJob::slotSearchData( KIO::Job* job, const TQString& data ) if ( mLocalSearchPattern->isEmpty() && data.isEmpty() ) { // no local search and the server found nothing - TQValueList<Q_UINT32> serNums; + TQValueList<TQ_UINT32> serNums; emit searchDone( serNums, mSearchPattern, true ); } else { @@ -226,7 +226,7 @@ void SearchJob::slotSearchFolder() if ( mLocalSearchPattern->isEmpty() ) { // pure imap search - now get the serial number for the UIDs - TQValueList<Q_UINT32> serNums; + TQValueList<TQ_UINT32> serNums; for ( TQStringList::Iterator it = mImapSearchHits.begin(); it != mImapSearchHits.end(); ++it ) { @@ -257,7 +257,7 @@ void SearchJob::slotSearchFolder() i18n("Continue Search"), i18n("&Search"), "continuedownloadingforsearch" ) != KMessageBox::Continue ) { - TQValueList<Q_UINT32> serNums; + TQValueList<TQ_UINT32> serNums; emit searchDone( serNums, mSearchPattern, true ); return; } @@ -306,7 +306,7 @@ void SearchJob::slotSearchMessageArrived( KMMessage* msg ) if ( mLocalSearchPattern->matches( msg ) && ( mImapSearchHits.isEmpty() || mImapSearchHits.find( TQString::number(msg->UID() ) ) != mImapSearchHits.end() ) ) { - Q_UINT32 serNum = msg->getMsgSerNum(); + TQ_UINT32 serNum = msg->getMsgSerNum(); mSearchSerNums.append( serNum ); matches = true; } @@ -314,7 +314,7 @@ void SearchJob::slotSearchMessageArrived( KMMessage* msg ) // imap or local search have to match if ( mLocalSearchPattern->matches( msg ) || mImapSearchHits.find( TQString::number(msg->UID()) ) != mImapSearchHits.end() ) { - Q_UINT32 serNum = msg->getMsgSerNum(); + TQ_UINT32 serNum = msg->getMsgSerNum(); mSearchSerNums.append( serNum ); matches = true; } @@ -352,7 +352,7 @@ void SearchJob::slotSearchResult( KIO::Job *job ) if ( mSerNum == 0 ) { // folder - TQValueList<Q_UINT32> serNums; + TQValueList<TQ_UINT32> serNums; emit searchDone( serNums, mSearchPattern, true ); } else { // message @@ -434,7 +434,7 @@ void SearchJob::slotAbortSearch( KPIM::ProgressItem* item ) if ( item ) item->setComplete(); mAccount->killAllJobs(); - TQValueList<Q_UINT32> serNums; + TQValueList<TQ_UINT32> serNums; emit searchDone( serNums, mSearchPattern, true ); } |