summaryrefslogtreecommitdiffstats
path: root/kmail/jobscheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/jobscheduler.h')
-rw-r--r--kmail/jobscheduler.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/jobscheduler.h b/kmail/jobscheduler.h
index 531e51a52..2dd04d4ac 100644
--- a/kmail/jobscheduler.h
+++ b/kmail/jobscheduler.h
@@ -29,10 +29,10 @@
#ifndef KMAIL_JOBSCHEDULER_H
#define KMAIL_JOBSCHEDULER_H
-#include <qobject.h>
-#include <qvaluelist.h>
-#include <qguardedptr.h>
-#include <qtimer.h>
+#include <tqobject.h>
+#include <tqvaluelist.h>
+#include <tqguardedptr.h>
+#include <tqtimer.h>
#include "folderjob.h"
@@ -69,7 +69,7 @@ public:
/// If for some reason (e.g. folder deleted) nothing should be done, return 0.
virtual ScheduledJob* run() = 0;
- /// An identifier for the type of task (a bit like QListViewItem::rtti)
+ /// An identifier for the type of task (a bit like TQListViewItem::rtti)
/// This allows to automatically prevent two identical tasks from being scheduled
/// for the same folder. To circumvent this feature and make every task
/// unique, return 0 here.
@@ -81,7 +81,7 @@ public:
bool isImmediate() const { return mImmediate; }
private:
- QGuardedPtr<KMFolder> mCurrentFolder;
+ TQGuardedPtr<KMFolder> mCurrentFolder;
bool mImmediate;
};
@@ -97,7 +97,7 @@ class JobScheduler : public QObject
{
Q_OBJECT
public:
- JobScheduler( QObject* parent, const char* name = 0 );
+ JobScheduler( TQObject* parent, const char* name = 0 );
~JobScheduler();
/// Register a task to be done for a given folder
@@ -123,12 +123,12 @@ private:
void restartTimer();
void interruptCurrentTask();
void runTaskNow( ScheduledTask* task );
- typedef QValueList<ScheduledTask *> TaskList;
+ typedef TQValueList<ScheduledTask *> TaskList;
void removeTask( TaskList::Iterator& it );
private:
TaskList mTaskList; // FIFO of tasks to be run
- QTimer mTimer;
+ TQTimer mTimer;
int mPendingImmediateTasks;
/// Information about the currently running job, if any