diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-28 20:34:15 +0000 |
commit | 1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch) | |
tree | 38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/kademlia/key.cpp | |
parent | 894f94545727610df22c4f73911d62d58266f695 (diff) | |
download | ktorrent-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/kademlia/key.cpp')
-rw-r--r-- | libktorrent/kademlia/key.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/kademlia/key.cpp b/libktorrent/kademlia/key.cpp index 6e62ff6..35ecfff 100644 --- a/libktorrent/kademlia/key.cpp +++ b/libktorrent/kademlia/key.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include <time.h> #include <stdlib.h> -#include <qcstring.h> +#include <tqcstring.h> #include <util/constants.h> #include "key.h" @@ -39,7 +39,7 @@ namespace dht { } - Key::Key(const QByteArray & ba) + Key::Key(const TQByteArray & ba) { for (Uint32 i = 0;i < 20 && i < ba.size();i++) hash[i] = ba[i]; |