summaryrefslogtreecommitdiffstats
path: root/kmail/actionscheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/actionscheduler.h')
-rw-r--r--kmail/actionscheduler.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kmail/actionscheduler.h b/kmail/actionscheduler.h
index 027bce21c..e785210b6 100644
--- a/kmail/actionscheduler.h
+++ b/kmail/actionscheduler.h
@@ -37,9 +37,9 @@
#include "kmfiltermgr.h" // KMFilterMgr::FilterSet
#include "kmcommands.h"
-#include <qobject.h>
-#include <qguardedptr.h>
-#include <qtimer.h>
+#include <tqobject.h>
+#include <tqguardedptr.h>
+#include <tqtimer.h>
class KMHeaders;
@@ -54,7 +54,7 @@ public:
enum ReturnCode { ResultOk, ResultError, ResultCriticalError };
ActionScheduler(KMFilterMgr::FilterSet set,
- QValueList<KMFilter*> filters,
+ TQValueList<KMFilter*> filters,
KMHeaders *headers = 0,
KMFolder *srcFolder = 0);
~ActionScheduler();
@@ -75,7 +75,7 @@ public:
/** Set a list of filters to work with
The current list will not be updated until the queue
of messages left to process is empty */
- void setFilterList( QValueList<KMFilter*> filters );
+ void setFilterList( TQValueList<KMFilter*> filters );
/** Set the id of the account associated with this scheduler */
void setAccountId( uint id ) { mAccountId = id; mAccount = true; }
@@ -84,12 +84,12 @@ public:
void clearAccountId() { mAccountId = 0; mAccount = false; }
/** Queue a message for filtering */
- void execFilters(const QValueList<Q_UINT32> serNums);
- void execFilters(const QPtrList<KMMsgBase> msgList);
+ void execFilters(const TQValueList<Q_UINT32> serNums);
+ void execFilters(const TQPtrList<KMMsgBase> msgList);
void execFilters(KMMsgBase* msgBase);
void execFilters(Q_UINT32 serNum);
- static QString debug();
+ static TQString debug();
static bool isEnabled();
/** Allow or deny manipulations on the message to be filtered.
@@ -136,19 +136,19 @@ private slots:
void fetchTimeOut();
private:
- static QValueList<ActionScheduler*> *schedulerList; // for debugging
+ static TQValueList<ActionScheduler*> *schedulerList; // for debugging
static KMFolderMgr *tempFolderMgr;
static int refCount, count;
static bool sEnabled, sEnabledChecked;
- QValueListIterator<Q_UINT32> mMessageIt;
- QValueListIterator<KMFilter> mFilterIt;
- QValueList<Q_UINT32> mSerNums, mFetchSerNums;
- QValueList<QGuardedPtr<KMFolder> > mOpenFolders;
- QValueList<KMFilter> mFilters, mQueuedFilters;
+ TQValueListIterator<Q_UINT32> mMessageIt;
+ TQValueListIterator<KMFilter> mFilterIt;
+ TQValueList<Q_UINT32> mSerNums, mFetchSerNums;
+ TQValueList<TQGuardedPtr<KMFolder> > mOpenFolders;
+ TQValueList<KMFilter> mFilters, mQueuedFilters;
KMFilterAction* mFilterAction;
KMFilterMgr::FilterSet mSet;
KMHeaders *mHeaders;
- QGuardedPtr<KMFolder> mSrcFolder, mDestFolder;
+ TQGuardedPtr<KMFolder> mSrcFolder, mDestFolder;
bool mExecuting, mExecutingLock, mFetchExecuting;
bool mUnget, mFetchUnget;
bool mIgnore;
@@ -160,10 +160,10 @@ private:
Q_UINT32 mOriginalSerNum;
bool mDeleteSrcFolder;
ReturnCode mResult;
- QTimer *finishTimer, *fetchMessageTimer, *tempCloseFoldersTimer;
- QTimer *processMessageTimer, *filterMessageTimer;
- QTimer *timeOutTimer, *fetchTimeOutTimer;
- QTime timeOutTime, fetchTimeOutTime;
+ TQTimer *finishTimer, *fetchMessageTimer, *tempCloseFoldersTimer;
+ TQTimer *processMessageTimer, *filterMessageTimer;
+ TQTimer *timeOutTimer, *fetchTimeOutTimer;
+ TQTime timeOutTime, fetchTimeOutTime;
KMCommand *lastCommand;
FolderJob *lastJob;
};