diff options
Diffstat (limited to 'noatun/library/playlistsaver.cpp')
-rw-r--r-- | noatun/library/playlistsaver.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 <tqdom.h> #include <kio/netaccess.h> #include <tqfile.h> -#include <tqtextstream.h> +#include <textstream.h> #include <noatun/app.h> #include "ksaver.h" #include <ksimpleconfig.h> @@ -107,7 +107,7 @@ bool PlaylistSaver::metalist(const KURL &url) TQMap<TQString,TQString> 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(); |