From 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 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/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- noatun/library/titleproxy.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'noatun/library/titleproxy.cpp') diff --git a/noatun/library/titleproxy.cpp b/noatun/library/titleproxy.cpp index bda84b18..c04fcbd4 100644 --- a/noatun/library/titleproxy.cpp +++ b/noatun/library/titleproxy.cpp @@ -258,11 +258,11 @@ bool Proxy::processHeader( TQ_LONG &index, TQ_LONG bytesRead ) // Handle redirection TQString loc( "Location: " ); - int index = m_headerStr.tqfind( loc ); + int index = m_headerStr.find( loc ); if ( index >= 0 ) { int start = index + loc.length(); - int end = m_headerStr.tqfind( "\n", index ); + int end = m_headerStr.find( "\n", index ); m_url = m_headerStr.mid( start, end - start - 1 ); kdDebug(66666) << k_funcinfo << @@ -360,15 +360,15 @@ void Proxy::error() TQString Proxy::extractStr( const TQString &str, const TQString &key ) { - int index = str.tqfind( key, 0, true ); + int index = str.find( key, 0, true ); if ( index == -1 ) { return TQString(); } else { - index = str.tqfind( "'", index ) + 1; - int indexEnd = str.tqfind( "'", index ); + index = str.find( "'", index ) + 1; + int indexEnd = str.find( "'", index ); return str.mid( index, indexEnd - index ); } } -- cgit v1.2.3