summaryrefslogtreecommitdiffstats
path: root/noatun/library/titleproxy.cpp
diff options
context:
space:
mode:
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 438504eb..c04fcbd4 100644
--- a/noatun/library/titleproxy.cpp
+++ b/noatun/library/titleproxy.cpp
@@ -157,11 +157,11 @@ void Proxy::sendRequest() //SLOT
"%3"
"%4"
"\r\n" )
- .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 );
+ .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 );
m_sockRemote.writeBlock( request.latin1(), request.length() );
@@ -304,7 +304,7 @@ bool Proxy::processHeader( TQ_LONG &index, TQ_LONG bytesRead )
}
}
- if ( m_streamUrl.startsWith( "www.", true ) )
+ if ( m_streamUrl.tqstartsWith( "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::fromLatin1("StreamTitle")),
- extractStr(data, TQString::fromLatin1("StreamUrl")));
+ extractStr(data, TQString::tqfromLatin1("StreamTitle")),
+ extractStr(data, TQString::tqfromLatin1("StreamUrl")));
}