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/mse/streamsocket.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/mse/streamsocket.cpp')
-rw-r--r-- | libktorrent/mse/streamsocket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libktorrent/mse/streamsocket.cpp b/libktorrent/mse/streamsocket.cpp index 19a0a2e..08f2d7b 100644 --- a/libktorrent/mse/streamsocket.cpp +++ b/libktorrent/mse/streamsocket.cpp @@ -18,8 +18,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include <errno.h> -#include <qsocket.h> -#include <qsocketdevice.h> +#include <tqsocket.h> +#include <tqsocketdevice.h> #include <util/sha1hash.h> #include <util/log.h> #include <torrent/peer.h> @@ -181,7 +181,7 @@ namespace mse sock->close(); } - bool StreamSocket::connectTo(const QString & ip,Uint16 port) + bool StreamSocket::connectTo(const TQString & ip,Uint16 port) { // do a safety check if (ip.isNull() || ip.length() == 0) @@ -221,7 +221,7 @@ namespace mse return sock->ok(); } - QString StreamSocket::getRemoteIPAddress() const + TQString StreamSocket::getRemoteIPAddress() const { return sock->getPeerName().toString(); } |