summaryrefslogtreecommitdiffstats
path: root/libktorrent/mse/streamsocket.cpp
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/mse/streamsocket.cpp
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/mse/streamsocket.cpp')
-rw-r--r--libktorrent/mse/streamsocket.cpp8
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();
}