summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldersearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldersearch.cpp')
-rw-r--r--kmail/kmfoldersearch.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmfoldersearch.cpp b/kmail/kmfoldersearch.cpp
index e7fd1d269..d2345dce0 100644
--- a/kmail/kmfoldersearch.cpp
+++ b/kmail/kmfoldersearch.cpp
@@ -452,7 +452,7 @@ void KMFolderSearch::addSerNum(TQ_UINT32 serNum)
<< ": folder is " << aFolder << ", index is " << idx << endl;
return;
}
- if(mFolders.tqfindIndex(aFolder) == -1) {
+ if(mFolders.findIndex(aFolder) == -1) {
aFolder->open("foldersearch");
mFolders.append(aFolder);
}
@@ -698,7 +698,7 @@ KMFolderSearch::ignoreJobsForMessage( KMMessage* msg )
}
-int KMFolderSearch::tqfind(const KMMsgBase* msg) const
+int KMFolderSearch::find(const KMMsgBase* msg) const
{
int pos = 0;
TQ_UINT32 serNum = msg->getMsgSerNum();
@@ -856,7 +856,7 @@ bool KMFolderSearch::readIndex()
return false;
}
mSerNums.push_back(serNum);
- if(mFolders.tqfindIndex(folder) == -1) {
+ if(mFolders.findIndex(folder) == -1) {
if (mInvalid) //exceptional case for when folder has invalid ids
return false;
folder->open("foldersearch");
@@ -910,7 +910,7 @@ KMMsgInfo* KMFolderSearch::setIndexEntry(int idx, KMMessage *msg)
{
assert(idx >= 0 && idx < (int)mSerNums.count());
Q_UNUSED( idx );
- return msg->storage()->setIndexEntry(msg->tqparent()->tqfind(msg), msg);
+ return msg->storage()->setIndexEntry(msg->tqparent()->find(msg), msg);
}
void KMFolderSearch::clearIndex(bool, bool)
@@ -954,9 +954,9 @@ void KMFolderSearch::examineAddedMessage(KMFolder *aFolder, TQ_UINT32 serNum)
KMFolderOpener openFolder(folder, "foldersearch");
// if we are already checking this folder, refcount
- if ( mFoldersCurrentlyBeingSearched.tqcontains( folder ) ) {
+ if ( mFoldersCurrentlyBeingSearched.contains( folder ) ) {
unsigned int count = mFoldersCurrentlyBeingSearched[folder];
- mFoldersCurrentlyBeingSearched.tqreplace( folder, count+1 );
+ mFoldersCurrentlyBeingSearched.replace( folder, count+1 );
} else {
connect( folder->storage(),
TQT_SIGNAL( searchDone( KMFolder*, TQ_UINT32, const KMSearchPattern*, bool ) ),
@@ -978,7 +978,7 @@ void KMFolderSearch::slotSearchExamineMsgDone( KMFolder* folder,
<< " matches?" << matches << endl;
KMFolderOpener openFolder(folder, "foldersearch");
- Q_ASSERT( mFoldersCurrentlyBeingSearched.tqcontains( folder ) );
+ Q_ASSERT( mFoldersCurrentlyBeingSearched.contains( folder ) );
unsigned int count = mFoldersCurrentlyBeingSearched[folder];
if ( count == 1 ) {
@@ -990,7 +990,7 @@ void KMFolderSearch::slotSearchExamineMsgDone( KMFolder* folder,
const KMSearchPattern*, bool ) ) );
mFoldersCurrentlyBeingSearched.remove( folder );
} else {
- mFoldersCurrentlyBeingSearched.tqreplace( folder, count-1 );
+ mFoldersCurrentlyBeingSearched.replace( folder, count-1 );
}
if ( !matches ) {
@@ -1115,9 +1115,9 @@ void KMFolderSearch::propagateHeaderChanged(KMFolder *aFolder, int idx)
KMFolderOpener openAFolder(aFolder, "foldersearch");
// if we are already checking this folder, refcount
- if ( mFoldersCurrentlyBeingSearched.tqcontains( aFolder ) ) {
+ if ( mFoldersCurrentlyBeingSearched.contains( aFolder ) ) {
unsigned int count = mFoldersCurrentlyBeingSearched[aFolder];
- mFoldersCurrentlyBeingSearched.tqreplace( aFolder, count+1 );
+ mFoldersCurrentlyBeingSearched.replace( aFolder, count+1 );
} else {
connect( aFolder->storage(),
TQT_SIGNAL( searchDone( KMFolder*, TQ_UINT32, const KMSearchPattern*, bool ) ),