summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/packet.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/packet.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/packet.h')
-rw-r--r--libktorrent/torrent/packet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/torrent/packet.h b/libktorrent/torrent/packet.h
index 9259d31..d9eb550 100644
--- a/libktorrent/torrent/packet.h
+++ b/libktorrent/torrent/packet.h
@@ -22,7 +22,7 @@
#include "globals.h"
-class QString;
+class TQString;
namespace bt
{
@@ -48,7 +48,7 @@ namespace bt
Packet(const BitSet & bs);
Packet(const Request & req,Uint8 type);
Packet(Uint32 index,Uint32 begin,Uint32 len,Chunk* ch);
- Packet(Uint8 ext_id,const QByteArray & ext_data); // extension protocol packet
+ Packet(Uint8 ext_id,const TQByteArray & ext_data); // extension protocol packet
virtual ~Packet();
Uint8 getType() const {return data ? data[4] : 0;}