summaryrefslogtreecommitdiffstats
path: root/noatun/library/titleproxy.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:11 -0600
commit83fbc82a101309e171089f0d5ed080f82a367345 (patch)
treec7b61083b6e2d4bfceaace9a7f018181ea36afec /noatun/library/titleproxy.cpp
parentb248983f92b865ef74636ab5a673ae3a88f79c20 (diff)
downloadtdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz
tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'noatun/library/titleproxy.cpp')
-rw-r--r--noatun/library/titleproxy.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun/library/titleproxy.cpp b/noatun/library/titleproxy.cpp
index c04fcbd4..438504eb 100644
--- a/noatun/library/titleproxy.cpp
+++ b/noatun/library/titleproxy.cpp
@@ -157,11 +157,11 @@ void Proxy::sendRequest() //SLOT
"%3"
"%4"
"\r\n" )
- .tqarg( m_url.path( -1 ).isEmpty() ? "/" : m_url.path( -1 ) )
- .tqarg( m_url.host() )
- .tqarg( m_icyMode ? TQString( "Icy-MetaData:1\r\n" ) : TQString() )
- .tqarg( auth ? TQString( "Authorization: Basic " ).append( authString ) : TQString() )
- .tqarg( NOATUN_VERSION );
+ .arg( m_url.path( -1 ).isEmpty() ? "/" : m_url.path( -1 ) )
+ .arg( m_url.host() )
+ .arg( m_icyMode ? TQString( "Icy-MetaData:1\r\n" ) : TQString() )
+ .arg( auth ? TQString( "Authorization: Basic " ).append( authString ) : TQString() )
+ .arg( NOATUN_VERSION );
m_sockRemote.writeBlock( request.latin1(), request.length() );
@@ -304,7 +304,7 @@ bool Proxy::processHeader( TQ_LONG &index, TQ_LONG bytesRead )
}
}
- if ( m_streamUrl.tqstartsWith( "www.", true ) )
+ if ( m_streamUrl.startsWith( "www.", true ) )
m_streamUrl.prepend( "http://" );
m_sockProxy.writeBlock( m_headerStr.latin1(), m_headerStr.length() );
@@ -339,8 +339,8 @@ void Proxy::transmitData( const TQString &data )
emit metaData(
m_streamName, m_streamGenre, m_streamUrl, m_bitRate,
- extractStr(data, TQString::tqfromLatin1("StreamTitle")),
- extractStr(data, TQString::tqfromLatin1("StreamUrl")));
+ extractStr(data, TQString::fromLatin1("StreamTitle")),
+ extractStr(data, TQString::fromLatin1("StreamUrl")));
}