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/sha1hash.h | |
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/sha1hash.h')
-rw-r--r-- | libktorrent/util/sha1hash.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/util/sha1hash.h b/libktorrent/util/sha1hash.h index a831d2d..dba66c9 100644 --- a/libktorrent/util/sha1hash.h +++ b/libktorrent/util/sha1hash.h @@ -20,10 +20,10 @@ #ifndef BTSHA1HASH_H #define BTSHA1HASH_H -#include <qcstring.h> +#include <tqcstring.h> #include "constants.h" -class QString; +class TQString; namespace bt { @@ -98,13 +98,13 @@ namespace bt * Convert the hash to a printable string. * @return The string */ - QString toString() const; + TQString toString() const; /** * Convert the hash to a string, usable in http get requests. * @return The string */ - QString toURLString() const; + TQString toURLString() const; /** * Directly get pointer to the data. @@ -140,7 +140,7 @@ namespace bt /** * Convert the hash to a byte array. */ - QByteArray toByteArray() const; + TQByteArray toByteArray() const; }; } |