From 83fbc82a101309e171089f0d5ed080f82a367345 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- noatun/library/playlistsaver.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'noatun/library/playlistsaver.cpp') diff --git a/noatun/library/playlistsaver.cpp b/noatun/library/playlistsaver.cpp index f5bd09bd..6541a6b6 100644 --- a/noatun/library/playlistsaver.cpp +++ b/noatun/library/playlistsaver.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include "ksaver.h" #include @@ -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(); -- cgit v1.2.1