summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/httptracker.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/torrent/httptracker.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-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/torrent/httptracker.h')
-rw-r--r--libktorrent/torrent/httptracker.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libktorrent/torrent/httptracker.h b/libktorrent/torrent/httptracker.h
index 8ac7e69..effb4b7 100644
--- a/libktorrent/torrent/httptracker.h
+++ b/libktorrent/torrent/httptracker.h
@@ -20,7 +20,7 @@
#ifndef BTHTTPTRACKER_H
#define BTHTTPTRACKER_H
-#include <qtimer.h>
+#include <tqtimer.h>
#include "tracker.h"
namespace KIO
@@ -42,6 +42,7 @@ namespace bt
class HTTPTracker : public Tracker
{
Q_OBJECT
+ TQ_OBJECT
public:
HTTPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
virtual ~HTTPTracker();
@@ -60,7 +61,7 @@ namespace bt
private:
void doRequest(WaitJob* wjob = 0);
- bool updateData(const QByteArray & data);
+ bool updateData(const TQByteArray & data);
void setupMetaData(KIO::MetaData & md);
void doAnnounceQueue();
void doAnnounce(const KURL & u);
@@ -68,7 +69,7 @@ namespace bt
private:
KIO::Job* active_job;
KURL::List announce_queue;
- QString event;
+ TQString event;
Uint32 failures;
};