From 2a99db3ebc4c211e436f95fde24b5ac6826d0267 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libktorrent/util/httprequest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libktorrent/util/httprequest.cpp') diff --git a/libktorrent/util/httprequest.cpp b/libktorrent/util/httprequest.cpp index ed7d980..a52788e 100644 --- a/libktorrent/util/httprequest.cpp +++ b/libktorrent/util/httprequest.cpp @@ -55,8 +55,8 @@ namespace bt void HTTPRequest::onConnect(const KResolverEntry&) { - payload = payload.tqreplace("$LOCAL_IP",sock->localAddress().nodeName()); - hdr = hdr.tqreplace("$CONTENT_LENGTH",TQString::number(payload.length())); + payload = payload.replace("$LOCAL_IP",sock->localAddress().nodeName()); + hdr = hdr.replace("$CONTENT_LENGTH",TQString::number(payload.length())); TQString req = hdr + payload; if (verbose) @@ -88,7 +88,7 @@ namespace bt Out(SYS_PNP|LOG_DEBUG) << strdata << endl; } - if (sl.first().tqcontains("HTTP") && sl.first().tqcontains("200")) + if (sl.first().contains("HTTP") && sl.first().contains("200")) { // emit reply OK replyOK(this,sl.last()); -- cgit v1.2.1