diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/util/waitjob.h | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip |
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libktorrent/util/waitjob.h')
-rw-r--r-- | libktorrent/util/waitjob.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libktorrent/util/waitjob.h b/libktorrent/util/waitjob.h index a85ba63..33b73f5 100644 --- a/libktorrent/util/waitjob.h +++ b/libktorrent/util/waitjob.h @@ -20,9 +20,9 @@ #ifndef BTWAITJOB_H #define BTWAITJOB_H -#include <qtimer.h> +#include <tqtimer.h> #include <kio/job.h> -#include <qvaluelist.h> +#include <tqvaluelist.h> #include <interfaces/exitoperation.h> #include "constants.h" @@ -38,6 +38,7 @@ namespace bt class WaitJob : public KIO::Job { Q_OBJECT + TQ_OBJECT public: WaitJob(Uint32 millis); virtual ~WaitJob(); @@ -65,8 +66,8 @@ namespace bt void operationFinished(kt::ExitOperation* op); private: - QTimer timer; - QValueList<kt::ExitOperation*> exit_ops; + TQTimer timer; + TQValueList<kt::ExitOperation*> exit_ops; }; void SynchronousWait(Uint32 millis); |