summaryrefslogtreecommitdiffstats
path: root/kmail/actionscheduler.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/actionscheduler.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/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;
};