summaryrefslogtreecommitdiffstats
path: root/kmail/backupjob.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/backupjob.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/backupjob.cpp')
-rw-r--r--kmail/backupjob.cpp16
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;