diff options
Diffstat (limited to 'kmail/jobscheduler.cpp')
-rw-r--r-- | kmail/jobscheduler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/jobscheduler.cpp b/kmail/jobscheduler.cpp index cedb530be..89cabec9e 100644 --- a/kmail/jobscheduler.cpp +++ b/kmail/jobscheduler.cpp @@ -34,19 +34,19 @@ using namespace KMail; -JobScheduler::JobScheduler( QObject* parent, const char* name ) - : QObject( parent, name ), mTimer( this, "mTimer" ), +JobScheduler::JobScheduler( TQObject* parent, const char* name ) + : TQObject( parent, name ), mTimer( this, "mTimer" ), mPendingImmediateTasks( 0 ), mCurrentTask( 0 ), mCurrentJob( 0 ) { - connect( &mTimer, SIGNAL( timeout() ), SLOT( slotRunNextJob() ) ); + connect( &mTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotRunNextJob() ) ); // No need to start the internal timer yet, we wait for a task to be scheduled } JobScheduler::~JobScheduler() { - // delete tasks in tasklist (no autodelete for QValueList) + // delete tasks in tasklist (no autodelete for TQValueList) for( TaskList::Iterator it = mTaskList.begin(); it != mTaskList.end(); ++it ) { delete (*it); } @@ -212,7 +212,7 @@ void JobScheduler::runTaskNow( ScheduledTask* task ) } // Register the job in the folder. This makes it autodeleted if the folder is deleted. mCurrentTask->folder()->storage()->addJob( mCurrentJob ); - connect( mCurrentJob, SIGNAL( finished() ), this, SLOT( slotJobFinished() ) ); + connect( mCurrentJob, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotJobFinished() ) ); mCurrentJob->start(); } |