summaryrefslogtreecommitdiffstats
path: root/kmail/actionscheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/actionscheduler.cpp')
-rw-r--r--kmail/actionscheduler.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/actionscheduler.cpp b/kmail/actionscheduler.cpp
index 913245e99..71475a93d 100644
--- a/kmail/actionscheduler.cpp
+++ b/kmail/actionscheduler.cpp
@@ -421,7 +421,7 @@ void ActionScheduler::fetchMessage()
} else if (msg) {
fetchTimeOutTime = TQTime::currentTime();
fetchTimeOutTimer->start( 60 * 1000, true );
- FolderJob *job = msg->tqparent()->createJob( msg );
+ FolderJob *job = msg->parent()->createJob( msg );
connect( job, TQT_SIGNAL(messageRetrieved( KMMessage* )),
TQT_SLOT(messageFetched( KMMessage* )) );
lastJob = job;
@@ -461,8 +461,8 @@ void ActionScheduler::messageFetched( KMMessage *msg )
} else {
fetchMessageTimer->start( 0, true );
}
- if (mFetchUnget && msg->tqparent())
- msg->tqparent()->unGetMsg( msg->tqparent()->find( msg ));
+ if (mFetchUnget && msg->parent())
+ msg->parent()->unGetMsg( msg->parent()->find( msg ));
return;
}
@@ -562,7 +562,7 @@ void ActionScheduler::processMessage()
return;
}
if (msg) {
- FolderJob *job = msg->tqparent()->createJob( msg );
+ FolderJob *job = msg->parent()->createJob( msg );
connect( job, TQT_SIGNAL(messageRetrieved( KMMessage* )),
TQT_SLOT(messageRetrieved( KMMessage* )) );
job->start();
@@ -665,7 +665,7 @@ void ActionScheduler::moveMessage()
if (mOriginalSerNum)
orgMsg = message( mOriginalSerNum );
mResult = mOldReturnCode; // ignore errors in deleting original message
- if (!orgMsg || !orgMsg->tqparent()) {
+ if (!orgMsg || !orgMsg->parent()) {
// Original message is gone, no point filtering it anymore
mSrcFolder->removeMsg( mSrcFolder->find( msg ) );
kdDebug(5006) << "The original serial number is missing. "
@@ -675,11 +675,11 @@ void ActionScheduler::moveMessage()
return;
} else {
if (!folder) // no filter folder specified leave in current place
- folder = orgMsg->tqparent();
+ folder = orgMsg->parent();
}
mIgnore = true;
- assert( msg->tqparent() == mSrcFolder.operator->() );
+ assert( msg->parent() == mSrcFolder.operator->() );
mSrcFolder->take( mSrcFolder->find( msg ) );
mSrcFolder->addMsg( msg );
mIgnore = false;
@@ -719,7 +719,7 @@ void ActionScheduler::moveMessageFinished( KMCommand *command )
mResult = mOldReturnCode; // ignore errors in deleting original message
KMCommand *cmd = 0;
- if (msg && msg->tqparent()) {
+ if (msg && msg->parent()) {
cmd = new KMMoveCommand( 0, msg );
// cmd->start(); // Note: sensitive logic here.
}