summaryrefslogtreecommitdiffstats
path: root/kmail/expirejob.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/expirejob.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/expirejob.cpp')
-rw-r--r--kmail/expirejob.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/expirejob.cpp b/kmail/expirejob.cpp
index e7e853b0a..a97c08429 100644
--- a/kmail/expirejob.cpp
+++ b/kmail/expirejob.cpp
@@ -107,7 +107,7 @@ void ExpireJob::execute()
mFolderOpen = true;
mCurrentIndex = storage->count()-1;
kdDebug(5006) << "ExpireJob: starting to expire in folder " << mSrcFolder->location() << endl;
- connect( &mTimer, SIGNAL( timeout() ), SLOT( slotDoWork() ) );
+ connect( &mTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotDoWork() ) );
mTimer.start( EXPIREJOB_TIMERINTERVAL );
slotDoWork();
// do nothing here, we might be deleted!
@@ -143,7 +143,7 @@ void ExpireJob::done()
{
mTimer.stop();
- QString str;
+ TQString str;
bool moving = false;
if ( !mRemovedMsgs.isEmpty() ) {
@@ -156,8 +156,8 @@ void ExpireJob::done()
<< mSrcFolder->location()
<< " " << count << " messages to remove." << endl;
KMMoveCommand* cmd = new KMMoveCommand( 0, mRemovedMsgs );
- connect( cmd, SIGNAL( completed( KMCommand * ) ),
- this, SLOT( slotMessagesMoved( KMCommand * ) ) );
+ connect( cmd, TQT_SIGNAL( completed( KMCommand * ) ),
+ this, TQT_SLOT( slotMessagesMoved( KMCommand * ) ) );
cmd->start();
moving = true;
str = i18n( "Removing 1 old message from folder %1...",
@@ -178,8 +178,8 @@ void ExpireJob::done()
<< mRemovedMsgs.count() << " messages to move to "
<< mMoveToFolder->label() << endl;
KMMoveCommand* cmd = new KMMoveCommand( mMoveToFolder, mRemovedMsgs );
- connect( cmd, SIGNAL( completed( KMCommand * ) ),
- this, SLOT( slotMessagesMoved( KMCommand * ) ) );
+ connect( cmd, TQT_SIGNAL( completed( KMCommand * ) ),
+ this, TQT_SLOT( slotMessagesMoved( KMCommand * ) ) );
cmd->start();
moving = true;
str = i18n( "Moving 1 old message from folder %1 to folder %2...",
@@ -206,7 +206,7 @@ void ExpireJob::slotMessagesMoved( KMCommand *command )
{
mSrcFolder->storage()->close( "expirejob" );
mFolderOpen = false;
- QString msg;
+ TQString msg;
switch ( command->result() ) {
case KMCommand::OK:
if ( mSrcFolder->expireAction() == KMFolder::ExpireDelete ) {