summaryrefslogtreecommitdiffstats
path: root/kmail/jobscheduler.h
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/jobscheduler.h
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/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