diff options
Diffstat (limited to 'kmail/backupjob.cpp')
-rw-r--r-- | kmail/backupjob.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/backupjob.cpp b/kmail/backupjob.cpp index a20e4118e..3953f3bcf 100644 --- a/kmail/backupjob.cpp +++ b/kmail/backupjob.cpp @@ -36,12 +36,12 @@ using namespace KMail; -BackupJob::BackupJob( TQWidget *parent ) - : TQObject( parent ), +BackupJob::BackupJob( TQWidget *tqparent ) + : TQObject( tqparent ), mArchiveType( Zip ), mRootFolder( 0 ), mArchive( 0 ), - mParentWidget( parent ), + mParentWidget( tqparent ), mCurrentFolderOpen( false ), mArchivedMessages( 0 ), mArchivedSize( 0 ), @@ -165,7 +165,7 @@ void BackupJob::finish() } } - mProgressItem->seStatus( i18n( "Archiving finished" ) ); + mProgressItem->setqStatus( i18n( "Archiving finished" ) ); mProgressItem->setComplete(); mProgressItem = 0; @@ -236,8 +236,8 @@ void BackupJob::archiveNextMessage() mCurrentMessage = message; TQTimer::singleShot( 0, this, TQT_SLOT( processCurrentMessage() ) ); } - else if ( message->parent() ) { - mCurrentJob = message->parent()->createJob( message ); + else if ( message->tqparent() ) { + mCurrentJob = message->tqparent()->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 parent!" << endl; + << " is neither complete nor has a tqparent!" << endl; abort( i18n( "Internal error while trying to retrieve a message from folder '%1'." ) .arg( mCurrentFolder->name() ) ); } @@ -388,7 +388,7 @@ void BackupJob::archiveNextFolder() mCurrentFolder = mPendingFolders.take( 0 ); kdDebug(5006) << "===> Archiving next folder: " << mCurrentFolder->name() << endl; - mProgressItem->seStatus( i18n( "Archiving folder %1" ).arg( mCurrentFolder->name() ) ); + mProgressItem->setqStatus( i18n( "Archiving folder %1" ).arg( mCurrentFolder->name() ) ); if ( mCurrentFolder->open( "BackupJob" ) != 0 ) { abort( i18n( "Unable to open folder '%1'.").arg( mCurrentFolder->name() ) ); return; |