summaryrefslogtreecommitdiffstats
path: root/kmail/kmacctimap.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /kmail/kmacctimap.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
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
Diffstat (limited to 'kmail/kmacctimap.cpp')
-rw-r--r--kmail/kmacctimap.cpp18
1 files changed, 9 insertions, 9 deletions
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<KMFolderImap*>((*it).tqparent->storage());
+ KMFolderImap *fld = static_cast<KMFolderImap*>((*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<KIO::Job*, jobData>::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<KMFolderImap*> folderList;
TQMap<KIO::Job*, jobData>::Iterator it = mapJobData.begin();
for (; it != mapJobData.end(); ++it) {
- if ( (*it).cancellable && (*it).tqparent ) {
- folderList << static_cast<KMFolderImap*>((*it).tqparent->storage());
+ if ( (*it).cancellable && (*it).parent ) {
+ folderList << static_cast<KMFolderImap*>((*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 );
}