summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/choker.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/choker.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/choker.h')
-rw-r--r--libktorrent/torrent/choker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/torrent/choker.h b/libktorrent/torrent/choker.h
index ba78f3c..b44fc48 100644
--- a/libktorrent/torrent/choker.h
+++ b/libktorrent/torrent/choker.h
@@ -20,7 +20,7 @@
#ifndef BTCHOKER_H
#define BTCHOKER_H
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <util/constants.h>
#include "peer.h"
@@ -39,7 +39,7 @@ namespace bt
typedef int (*PeerCompareFunc)(Peer* a,Peer* b);
- class PeerPtrList : public QPtrList<Peer>
+ class PeerPtrList : public TQPtrList<Peer>
{
PeerCompareFunc pcmp;
public:
@@ -48,7 +48,7 @@ namespace bt
void setCompareFunc(PeerCompareFunc p) {pcmp = p;}
- virtual int compareItems(QPtrCollection::Item a, QPtrCollection::Item b);
+ virtual int compareItems(TQPtrCollection::Item a, TQPtrCollection::Item b);
};
/**