From dc07846059a60d069687585cc72ff501a2096296 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:57:28 -0600 Subject: Remove additional unneeded tq method conversions --- noatun/library/equalizerwidget.ui | 4 ++-- noatun/library/ksaver.cpp | 2 +- noatun/library/playlistsaver.cpp | 10 +++++----- noatun/library/plugin.cpp | 4 ++-- noatun/library/scrollinglabel.cpp | 4 ++-- noatun/library/titleproxy.cpp | 10 +++++----- 6 files changed, 17 insertions(+), 17 deletions(-) (limited to 'noatun/library') diff --git a/noatun/library/equalizerwidget.ui b/noatun/library/equalizerwidget.ui index 97f30430..4a0f6714 100644 --- a/noatun/library/equalizerwidget.ui +++ b/noatun/library/equalizerwidget.ui @@ -37,7 +37,7 @@ Pre&amp: - + AlignCenter @@ -122,7 +122,7 @@ +/- - + AlignCenter diff --git a/noatun/library/ksaver.cpp b/noatun/library/ksaver.cpp index fe2ed649..40b3606c 100644 --- a/noatun/library/ksaver.cpp +++ b/noatun/library/ksaver.cpp @@ -78,7 +78,7 @@ bool Noatun::KSaver::open(void) } else { - d->error = i18n("Could not write to %1.").tqarg(d->url.prettyURL()); + d->error = i18n("Could not write to %1.").arg(d->url.prettyURL()); return false; } } diff --git a/noatun/library/playlistsaver.cpp b/noatun/library/playlistsaver.cpp index f5bd09bd..dbb91766 100644 --- a/noatun/library/playlistsaver.cpp +++ b/noatun/library/playlistsaver.cpp @@ -107,7 +107,7 @@ bool PlaylistSaver::metalist(const KURL &url) TQMap map; map["playObject"]="Arts::StreamPlayObject"; - map["title"] = i18n("Stream from %1").tqarg(url.host()); + map["title"] = i18n("Stream from %1").arg(url.host()); KURL u(url); if (!u.hasPath()) @@ -303,7 +303,7 @@ public: else { propMap["playObject"]="SplayPlayObject"; - propMap["title"] = i18n("Stream from %1").tqarg(url.host()); + propMap["title"] = i18n("Stream from %1").arg(url.host()); if (!url.hasPath()) url.setPath("/"); propMap["url"] = url.url(); @@ -556,7 +556,7 @@ bool PlaylistSaver::loadM3U(const KURL &file, int /*opt*/) { prop["playObject"]="SplayPlayObject"; // Default title, might be overwritten by #EXTINF later - prop["title"] = i18n("Stream from %1").tqarg(protourl.host()); + prop["title"] = i18n("Stream from %1").arg(protourl.host()); if (!protourl.hasPath()) protourl.setPath("/"); @@ -748,9 +748,9 @@ bool PlaylistSaver::loadPLS(const KURL &file, int /*opt*/) map["playObject"]="SplayPlayObject"; if (title.isEmpty()) - map["title"] = i18n("Stream from %1 (port: %2)").tqarg( url.host() ).tqarg( url.port() ); + map["title"] = i18n("Stream from %1 (port: %2)").arg( url.host() ).arg( url.port() ); else - map["title"] = i18n("Stream from %1, (ip: %2, port: %3)").tqarg( title ).tqarg( url.host() ).tqarg(url.port() ); + map["title"] = i18n("Stream from %1, (ip: %2, port: %3)").arg( title ).arg( url.host() ).arg(url.port() ); map["url"] = map["stream_"]= url.url(); diff --git a/noatun/library/plugin.cpp b/noatun/library/plugin.cpp index 697b27b8..3c5b6f5d 100644 --- a/noatun/library/plugin.cpp +++ b/noatun/library/plugin.cpp @@ -94,7 +94,7 @@ Visualization::Visualization(int timeout, int pid) c.attach(); TQCString appids[2]; - appids[0]=TQString("noatun-%1").tqarg(parent).local8Bit(); + appids[0]=TQString("noatun-%1").arg(parent).local8Bit(); appids[1]="noatun"; TQCString &appid=appids[0]; @@ -504,7 +504,7 @@ ExitNotifier::ExitNotifier(int pid, TQObject *parent) : NoatunListener(parent) TQCString appids[2]; - appids[0]=TQString("noatun-%1").tqarg(pid).local8Bit(); + appids[0]=TQString("noatun-%1").arg(pid).local8Bit(); appids[1]="noatun"; appid=appids[0]; diff --git a/noatun/library/scrollinglabel.cpp b/noatun/library/scrollinglabel.cpp index 678a7098..c2c9dae8 100644 --- a/noatun/library/scrollinglabel.cpp +++ b/noatun/library/scrollinglabel.cpp @@ -128,7 +128,7 @@ ScrollingLabel::_update() if (d->scroll && (d->scrollSize > 0)) d->scrollTimer.start(100, true); - tqrepaint(false); + repaint(false); } void @@ -149,7 +149,7 @@ ScrollingLabel::scroll() { d->scrollTimer.stop(); - tqrepaint(false); + repaint(false); int scrollTime = 100; diff --git a/noatun/library/titleproxy.cpp b/noatun/library/titleproxy.cpp index 5c705d3c..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() ); -- cgit v1.2.1