summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/packetreader.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/packetreader.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/packetreader.h')
-rw-r--r--libktorrent/torrent/packetreader.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/torrent/packetreader.h b/libktorrent/torrent/packetreader.h
index da1e03e..782604d 100644
--- a/libktorrent/torrent/packetreader.h
+++ b/libktorrent/torrent/packetreader.h
@@ -20,8 +20,8 @@
#ifndef BTPACKETREADER_H
#define BTPACKETREADER_H
-#include <qmutex.h>
-#include <qptrlist.h>
+#include <tqmutex.h>
+#include <tqptrlist.h>
#include <net/bufferedsocket.h>
#include "globals.h"
@@ -46,8 +46,8 @@ namespace bt
{
Peer* peer;
bool error;
- QPtrList<IncomingPacket> packet_queue;
- QMutex mutex;
+ TQPtrList<IncomingPacket> packet_queue;
+ TQMutex mutex;
Uint8 len[4];
int len_received;
public: