summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/peerdownloader.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/peerdownloader.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/peerdownloader.h')
-rw-r--r--libktorrent/torrent/peerdownloader.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/libktorrent/torrent/peerdownloader.h b/libktorrent/torrent/peerdownloader.h
index 4eb37d2..6173c97 100644
--- a/libktorrent/torrent/peerdownloader.h
+++ b/libktorrent/torrent/peerdownloader.h
@@ -21,8 +21,8 @@
#define BTPEERDOWNLOADER_H
#include <set>
-#include <qvaluelist.h>
-#include <qobject.h>
+#include <tqvaluelist.h>
+#include <tqobject.h>
#include "globals.h"
#include "request.h"
@@ -91,9 +91,10 @@ namespace bt
*
* This class downloads Piece's from a Peer.
*/
- class PeerDownloader : public QObject
+ class PeerDownloader : public TQObject
{
- Q_OBJECT
+ Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor, set the Peer
@@ -218,8 +219,8 @@ namespace bt
private:
Peer* peer;
- QValueList<TimeStampedRequest> reqs;
- QValueList<Request> wait_queue;
+ TQValueList<TimeStampedRequest> reqs;
+ TQValueList<Request> wait_queue;
Uint32 max_wait_queue_size;
int grabbed;
Uint32 chunk_size;