summaryrefslogtreecommitdiffstats
path: root/noatun/library/titleproxy.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch)
tree48ff13dab43883d19ecf2272b8ba72a013d5bc57 /noatun/library/titleproxy.cpp
parentc05ca496a526b3fc192dbfafe0955e5824b22e08 (diff)
downloadtdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz
tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip
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
Diffstat (limited to 'noatun/library/titleproxy.cpp')
-rw-r--r--noatun/library/titleproxy.cpp10
1 files changed, 5 insertions, 5 deletions
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 );
}
}