From 36a36a5c1015aa0d03f4515c401e907ddb9d6291 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmacctimap.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kmail/kmacctimap.cpp') diff --git a/kmail/kmacctimap.cpp b/kmail/kmacctimap.cpp index d889b65b2..fe74bc80a 100644 --- a/kmail/kmacctimap.cpp +++ b/kmail/kmacctimap.cpp @@ -153,10 +153,10 @@ void KMAcctImap::killAllJobs( bool disconnectSlave ) msg->setTransferInProgress( false ); } } - if ((*it).tqparent) + if ((*it).parent) { // clear folder state - KMFolderImap *fld = static_cast((*it).tqparent->storage()); + KMFolderImap *fld = static_cast((*it).parent->storage()); fld->setCheckingValidity(false); fld->quiet(false); fld->setContentState(KMFolderImap::imapNoInformation); @@ -222,7 +222,7 @@ void KMAcctImap::ignoreJobsForFolder( KMFolder* folder ) { ImapJob *job = it.current(); ++it; - if ( !job->msgList().isEmpty() && job->msgList().first()->tqparent() == folder ) + if ( !job->msgList().isEmpty() && job->msgList().first()->parent() == folder ) { job->kill(); } @@ -237,8 +237,8 @@ void KMAcctImap::removeSlaveJobsForFolder( KMFolder* folder ) while ( it != mapJobData.end() ) { TQMap::Iterator i = it; it++; - if ( (*i).tqparent ) { - if ( (*i).tqparent == folder ) { + if ( (*i).parent ) { + if ( (*i).parent == folder ) { mapJobData.remove(i); } } @@ -252,8 +252,8 @@ void KMAcctImap::cancelMailCheck() TQValueList folderList; TQMap::Iterator it = mapJobData.begin(); for (; it != mapJobData.end(); ++it) { - if ( (*it).cancellable && (*it).tqparent ) { - folderList << static_cast((*it).tqparent->storage()); + if ( (*it).cancellable && (*it).parent ) { + folderList << static_cast((*it).parent->storage()); } } // Kill jobs @@ -607,11 +607,11 @@ int KMAcctImap::slotFilterMsg( KMMessage *msg ) kmkernel->emergencyExit( i18n("Unable to process messages: " ) + TQString::fromLocal8Bit(strerror(errno))); return 2; } - if (msg->tqparent()) { // unGet this msg + if (msg->parent()) { // unGet this msg int idx = -1; KMFolder * p = 0; KMMsgDict::instance()->getLocation( msg, &p, &idx ); - assert( p == msg->tqparent() ); assert( idx >= 0 ); + assert( p == msg->parent() ); assert( idx >= 0 ); p->unGetMsg( idx ); } -- cgit v1.2.1