From 81ad3b51a1f061b0934426aaf339917f76c0cfc5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:10:16 -0600 Subject: Rename old tq methods that no longer need a unique name --- src/kmplayer_atom.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/kmplayer_atom.cpp') diff --git a/src/kmplayer_atom.cpp b/src/kmplayer_atom.cpp index a35c649..3b5915f 100644 --- a/src/kmplayer_atom.cpp +++ b/src/kmplayer_atom.cpp @@ -75,7 +75,7 @@ void ATOM::Link::closed () { else if (a->name () == "rel") rel = a->value (); } - if (!href.isEmpty () && rel == TQString::tqfromLatin1 ("enclosure")) + if (!href.isEmpty () && rel == TQString::fromLatin1 ("enclosure")) src = href; else if (pretty_name.isEmpty ()) pretty_name = href; @@ -87,12 +87,12 @@ void ATOM::Content::closed () { src = a->value (); else if (a->name () == StringPool::attr_type) { TQString v = a->value ().lower (); - if (v == TQString::tqfromLatin1 ("text")) - mimetype = TQString::tqfromLatin1 ("text/plain"); - else if (v == TQString::tqfromLatin1 ("html")) - mimetype = TQString::tqfromLatin1 ("text/html"); - else if (v == TQString::tqfromLatin1 ("xhtml")) - mimetype = TQString::tqfromLatin1 ("application/xhtml+xml"); + if (v == TQString::fromLatin1 ("text")) + mimetype = TQString::fromLatin1 ("text/plain"); + else if (v == TQString::fromLatin1 ("html")) + mimetype = TQString::fromLatin1 ("text/html"); + else if (v == TQString::fromLatin1 ("xhtml")) + mimetype = TQString::fromLatin1 ("application/xhtml+xml"); else mimetype = v; } -- cgit v1.2.1