summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldersearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldersearch.cpp')
-rw-r--r--kmail/kmfoldersearch.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmfoldersearch.cpp b/kmail/kmfoldersearch.cpp
index d2345dce0..819d5ff82 100644
--- a/kmail/kmfoldersearch.cpp
+++ b/kmail/kmfoldersearch.cpp
@@ -69,8 +69,8 @@
#define IDS_SEARCH_HEADER_LEN 30
-KMSearch::KMSearch(TQObject * tqparent, const char * name)
- :TQObject(tqparent, name)
+KMSearch::KMSearch(TQObject * parent, const char * name)
+ :TQObject(parent, name)
{
mRemainingFolders = -1;
mRecursive = true;
@@ -135,11 +135,11 @@ bool KMSearch::inScope(KMFolder* folder) const
return false;
KMFolderDir *rootDir = mRoot->child();
- KMFolderDir *ancestorDir = folder->tqparent();
+ KMFolderDir *ancestorDir = folder->parent();
while ( ancestorDir ) {
if ( ancestorDir == rootDir )
return true;
- ancestorDir = ancestorDir->tqparent();
+ ancestorDir = ancestorDir->parent();
}
return false;
}
@@ -688,7 +688,7 @@ KMFolderSearch::ignoreJobsForMessage( KMMessage* msg )
this folder via the inherited method, then clear the imap ones. */
FolderStorage::ignoreJobsForMessage( msg );
- if (msg->tqparent()->folderType() == KMFolderTypeImap) {
+ if (msg->parent()->folderType() == KMFolderTypeImap) {
KMAcctImap *account =
static_cast<KMFolderImap*>( msg->storage() )->account();
if( !account )
@@ -787,7 +787,7 @@ int KMFolderSearch::writeIndex( bool )
DwString KMFolderSearch::getDwString(int idx)
{
- return getMsgBase(idx)->tqparent()->getDwString( idx );
+ return getMsgBase(idx)->parent()->getDwString( idx );
}
KMMessage* KMFolderSearch::readMsg(int idx)
@@ -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()->find(msg), msg);
+ return msg->storage()->setIndexEntry(msg->parent()->find(msg), msg);
}
void KMFolderSearch::clearIndex(bool, bool)