summaryrefslogtreecommitdiffstats
path: root/kmail/backupjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/backupjob.cpp')
-rw-r--r--kmail/backupjob.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/backupjob.cpp b/kmail/backupjob.cpp
index e3a2ac0dd..43209ca7b 100644
--- a/kmail/backupjob.cpp
+++ b/kmail/backupjob.cpp
@@ -36,12 +36,12 @@
using namespace KMail;
-BackupJob::BackupJob( TQWidget *tqparent )
- : TQObject( tqparent ),
+BackupJob::BackupJob( TQWidget *parent )
+ : TQObject( parent ),
mArchiveType( Zip ),
mRootFolder( 0 ),
mArchive( 0 ),
- mParentWidget( tqparent ),
+ mParentWidget( parent ),
mCurrentFolderOpen( false ),
mArchivedMessages( 0 ),
mArchivedSize( 0 ),
@@ -236,8 +236,8 @@ void BackupJob::archiveNextMessage()
mCurrentMessage = message;
TQTimer::singleShot( 0, this, TQT_SLOT( processCurrentMessage() ) );
}
- else if ( message->tqparent() ) {
- mCurrentJob = message->tqparent()->createJob( message );
+ else if ( message->parent() ) {
+ mCurrentJob = message->parent()->createJob( message );
mCurrentJob->setCancellable( false );
connect( mCurrentJob, TQT_SIGNAL( messageRetrieved( KMMessage* ) ),
this, TQT_SLOT( messageRetrieved( KMMessage* ) ) );
@@ -247,7 +247,7 @@ void BackupJob::archiveNextMessage()
}
else {
kdWarning(5006) << "Message with subject " << mCurrentMessage->subject()
- << " is neither complete nor has a tqparent!" << endl;
+ << " is neither complete nor has a parent!" << endl;
abort( i18n( "Internal error while trying to retrieve a message from folder '%1'." )
.tqarg( mCurrentFolder->name() ) );
}