summaryrefslogtreecommitdiffstats
path: root/kmail/kmheaders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmheaders.cpp')
-rw-r--r--kmail/kmheaders.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp
index f8e8fff8f..d8c30d074 100644
--- a/kmail/kmheaders.cpp
+++ b/kmail/kmheaders.cpp
@@ -952,7 +952,7 @@ void KMHeaders::msgAdded(int id)
mItems[id] = hi;
if ( !msgId.isEmpty() )
- mSortCacheItems.tqreplace(msgId, sci);
+ mSortCacheItems.replace(msgId, sci);
/* Add to the list of potential parents for subject threading. But only if
* we are top level. */
if (mSubjThreading && tqparent) {
@@ -962,7 +962,7 @@ void KMHeaders::msgAdded(int id)
subjMD5 = mFolder->getMsgBase(id)->strippedSubjectMD5();
}
if( !subjMD5.isEmpty()) {
- if ( !mSubjectLists.tqfind(subjMD5) )
+ if ( !mSubjectLists.find(subjMD5) )
mSubjectLists.insert(subjMD5, new TQPtrList<SortCacheItem>());
// insertion sort by date. See buildThreadTrees for details.
int p=0;
@@ -1006,7 +1006,7 @@ void KMHeaders::msgAdded(int id)
if (msgId != otherMsg->replyToAuxIdMD5())
continue;
else {
- if (!otherId.isEmpty() && mSortCacheItems.tqfind(otherId))
+ if (!otherId.isEmpty() && mSortCacheItems.find(otherId))
continue;
else
// Thread below us by aux id, but keep on the list of
@@ -1163,11 +1163,11 @@ void KMHeaders::msgRemoved(int id, TQString msgId )
}
if ((!tqparent || sci->isImperfectlyThreaded())
- && !mImperfectlyThreadedList.tqcontainsRef(item))
+ && !mImperfectlyThreadedList.containsRef(item))
mImperfectlyThreadedList.append(item);
if (tqparent && !sci->isImperfectlyThreaded()
- && mImperfectlyThreadedList.tqcontainsRef(item))
+ && mImperfectlyThreadedList.containsRef(item))
mImperfectlyThreadedList.removeRef(item);
}
}
@@ -1178,7 +1178,7 @@ void KMHeaders::msgRemoved(int id, TQString msgId )
mImperfectlyThreadedList.removeRef( removedItem );
#ifdef DEBUG
// This should never happen, in this case the folders are inconsistent.
- while ( mImperfectlyThreadedList.tqfindRef( removedItem ) != -1 ) {
+ while ( mImperfectlyThreadedList.findRef( removedItem ) != -1 ) {
mImperfectlyThreadedList.remove();
kdDebug(5006) << "Remove doubled item from mImperfectlyThreadedList: " << removedItem << endl;
}
@@ -1268,7 +1268,7 @@ void KMHeaders::setThreadtqStatus(KMMsgtqStatus status, bool toggle)
TQListViewItem *top = item;
while ( top->tqparent() )
top = top->tqparent();
- if (!topOfThreads.tqcontains(top)) {
+ if (!topOfThreads.contains(top)) {
topOfThreads.append(top);
}
}
@@ -2950,7 +2950,7 @@ void KMHeaders::buildThreadingTree( TQMemArray<SortCacheItem *> sortCache )
KMMsgBase *mi = mFolder->getMsgBase(x);
TQString md5 = mi->msgIdMD5();
if(!md5.isEmpty())
- mSortCacheItems.tqreplace(md5, sortCache[x]);
+ mSortCacheItems.replace(md5, sortCache[x]);
}
}
@@ -2974,7 +2974,7 @@ void KMHeaders::buildSubjectThreadingTree( TQMemArray<SortCacheItem *> sortCache
/* For each subject, keep a list of items with that subject
* (stripped of prefixes) sorted by date. */
- if (!mSubjectLists.tqfind(subjMD5))
+ if (!mSubjectLists.find(subjMD5))
mSubjectLists.insert(subjMD5, new TQPtrList<SortCacheItem>());
/* Insertion sort by date. These lists are expected to be very small.
* Also, since the messages are roughly ordered by date in the store,
@@ -3596,7 +3596,7 @@ void KMHeaders::setCopiedMessages(const TQValueList< TQ_UINT32 > & msgs, bool mo
bool KMHeaders::isMessageCut(TQ_UINT32 serNum) const
{
- return mMoveMessages && mCopiedMessages.tqcontains( serNum );
+ return mMoveMessages && mCopiedMessages.contains( serNum );
}
TQValueList< TQ_UINT32 > KMHeaders::selectedSernums()