summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_atom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayer_atom.cpp')
-rw-r--r--src/kmplayer_atom.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/kmplayer_atom.cpp b/src/kmplayer_atom.cpp
index da79902..a35c649 100644
--- a/src/kmplayer_atom.cpp
+++ b/src/kmplayer_atom.cpp
@@ -22,7 +22,7 @@
using namespace KMPlayer;
-NodePtr ATOM::Feed::childFromTag (const QString & tag) {
+NodePtr ATOM::Feed::childFromTag (const TQString & tag) {
if (!strcmp (tag.latin1 (), "entry"))
return new ATOM::Entry (m_doc);
else if (!strcmp (tag.latin1 (), "link"))
@@ -40,7 +40,7 @@ void ATOM::Feed::closed () {
}
}
-NodePtr ATOM::Entry::childFromTag (const QString & tag) {
+NodePtr ATOM::Entry::childFromTag (const TQString & tag) {
if (!strcmp (tag.latin1 (), "link"))
return new ATOM::Link (m_doc);
else if (!strcmp (tag.latin1 (), "content"))
@@ -65,8 +65,8 @@ Node::PlayType ATOM::Link::playType () {
}
void ATOM::Link::closed () {
- QString href;
- QString rel;
+ TQString href;
+ TQString rel;
for (AttributePtr a = attributes ()->first (); a; a = a->nextSibling ()) {
if (a->name () == StringPool::attr_href)
href = a->value ();
@@ -75,7 +75,7 @@ void ATOM::Link::closed () {
else if (a->name () == "rel")
rel = a->value ();
}
- if (!href.isEmpty () && rel == QString::fromLatin1 ("enclosure"))
+ if (!href.isEmpty () && rel == TQString::tqfromLatin1 ("enclosure"))
src = href;
else if (pretty_name.isEmpty ())
pretty_name = href;
@@ -86,13 +86,13 @@ void ATOM::Content::closed () {
if (a->name () == StringPool::attr_src)
src = a->value ();
else if (a->name () == StringPool::attr_type) {
- QString v = a->value ().lower ();
- if (v == QString::fromLatin1 ("text"))
- mimetype = QString::fromLatin1 ("text/plain");
- else if (v == QString::fromLatin1 ("html"))
- mimetype = QString::fromLatin1 ("text/html");
- else if (v == QString::fromLatin1 ("xhtml"))
- mimetype = QString::fromLatin1 ("application/xhtml+xml");
+ 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");
else
mimetype = v;
}