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/util/urlencoder.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/util/urlencoder.cpp')
-rw-r--r-- | libktorrent/util/urlencoder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/util/urlencoder.cpp b/libktorrent/util/urlencoder.cpp index c1776de..9d2b92b 100644 --- a/libktorrent/util/urlencoder.cpp +++ b/libktorrent/util/urlencoder.cpp @@ -22,7 +22,7 @@ namespace bt { - QString hex[] = { + TQString hex[] = { "%00", "%01", "%02", "%03", "%04", "%05", "%06", "%07", "%08", "%09", "%0a", "%0b", "%0c", "%0d", "%0e", "%0f", "%10", "%11", "%12", "%13", "%14", "%15", "%16", "%17", @@ -58,9 +58,9 @@ namespace bt }; - QString URLEncoder::encode(const char* buf,Uint32 size) + TQString URLEncoder::encode(const char* buf,Uint32 size) { - QString res = ""; + TQString res = ""; for (Uint32 i = 0; i < size; i++) { |