summaryrefslogtreecommitdiffstats
path: root/kmail/kmacctcachedimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmacctcachedimap.cpp')
-rw-r--r--kmail/kmacctcachedimap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmacctcachedimap.cpp b/kmail/kmacctcachedimap.cpp
index 76339dd65..9066941c6 100644
--- a/kmail/kmacctcachedimap.cpp
+++ b/kmail/kmacctcachedimap.cpp
@@ -134,8 +134,8 @@ TQValueList<KMFolderCachedImap*> KMAcctCachedImap::killAllJobsInternal( bool dis
TQValueList<KMFolderCachedImap*> folderList;
TQMap<KIO::Job*, jobData>::Iterator it = mapJobData.begin();
for (; it != mapJobData.end(); ++it) {
- if ((*it).tqparent)
- folderList << static_cast<KMFolderCachedImap*>((*it).tqparent->storage());
+ if ((*it).parent)
+ folderList << static_cast<KMFolderCachedImap*>((*it).parent->storage());
// Kill the job - except if it's the one that already died and is calling us
if ( !it.key()->error() && mSlave ) {
it.key()->kill();
@@ -163,8 +163,8 @@ void KMAcctCachedImap::cancelMailCheck()
TQValueList<KMFolderCachedImap*> folderList;
TQMap<KIO::Job*, jobData>::Iterator it = mapJobData.begin();
for (; it != mapJobData.end(); ++it) {
- if ( (*it).cancellable && (*it).tqparent )
- folderList << static_cast<KMFolderCachedImap*>((*it).tqparent->storage());
+ if ( (*it).cancellable && (*it).parent )
+ folderList << static_cast<KMFolderCachedImap*>((*it).parent->storage());
}
// Kill jobs
ImapAccountBase::cancelMailCheck();