summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/choker.cpp
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.cpp
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.cpp')
-rw-r--r--libktorrent/torrent/choker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/torrent/choker.cpp b/libktorrent/torrent/choker.cpp
index 0cb08e9..6162644 100644
--- a/libktorrent/torrent/choker.cpp
+++ b/libktorrent/torrent/choker.cpp
@@ -19,7 +19,7 @@
***************************************************************************/
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <interfaces/functions.h>
#include "choker.h"
#include "peermanager.h"
@@ -37,7 +37,7 @@ namespace bt
PeerPtrList::~PeerPtrList()
{}
- int PeerPtrList::compareItems(QPtrCollection::Item a, QPtrCollection::Item b)
+ int PeerPtrList::compareItems(TQPtrCollection::Item a, TQPtrCollection::Item b)
{
if (pcmp)
return pcmp((Peer*)a,(Peer*)b);