From f59dfa08651a47f21d004e8e4cb5020b8035287e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345. --- 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 6541a6b6..f5bd09bd 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").arg(url.host()); + map["title"] = i18n("Stream from %1").tqarg(url.host()); KURL u(url); if (!u.hasPath()) @@ -303,7 +303,7 @@ public: else { propMap["playObject"]="SplayPlayObject"; - propMap["title"] = i18n("Stream from %1").arg(url.host()); + propMap["title"] = i18n("Stream from %1").tqarg(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").arg(protourl.host()); + prop["title"] = i18n("Stream from %1").tqarg(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)").arg( url.host() ).arg( url.port() ); + map["title"] = i18n("Stream from %1 (port: %2)").tqarg( url.host() ).tqarg( url.port() ); else - map["title"] = i18n("Stream from %1, (ip: %2, port: %3)").arg( title ).arg( url.host() ).arg(url.port() ); + map["title"] = i18n("Stream from %1, (ip: %2, port: %3)").tqarg( title ).tqarg( url.host() ).tqarg(url.port() ); map["url"] = map["stream_"]= url.url(); -- cgit v1.2.3