diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:14 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:14 -0600 |
commit | ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8 (patch) | |
tree | 0630bc6a5a0e9a1187503dca93799ee21055d050 /src/kmplayer_atom.cpp | |
parent | f97c8a56e217f04e08776ccf8021721b7d919b7d (diff) | |
download | kmplayer-ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8.tar.gz kmplayer-ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f97c8a56e217f04e08776ccf8021721b7d919b7d.
Diffstat (limited to 'src/kmplayer_atom.cpp')
-rw-r--r-- | src/kmplayer_atom.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kmplayer_atom.cpp b/src/kmplayer_atom.cpp index 3b5915f..a35c649 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::fromLatin1 ("enclosure")) + if (!href.isEmpty () && rel == TQString::tqfromLatin1 ("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::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"); + 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"); else mimetype = v; } |