summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_rss.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 06:10:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 06:10:56 +0000
commit769e63d24adf5c844137484f06a972fcce732d6a (patch)
tree5185797dcb3ff4b1b3cb71d367123bf89eb2410f /src/kmplayer_rss.cpp
parent0a8af92185eac74d48da1225e6053a0d66c078f5 (diff)
downloadkmplayer-769e63d24adf5c844137484f06a972fcce732d6a.tar.gz
kmplayer-769e63d24adf5c844137484f06a972fcce732d6a.zip
TQt4 port kmplayer
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1238840 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayer_rss.cpp')
-rw-r--r--src/kmplayer_rss.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kmplayer_rss.cpp b/src/kmplayer_rss.cpp
index 133b4e8..174fe23 100644
--- a/src/kmplayer_rss.cpp
+++ b/src/kmplayer_rss.cpp
@@ -22,13 +22,13 @@
using namespace KMPlayer;
-KDE_NO_EXPORT NodePtr RSS::Rss::childFromTag (const QString & tag) {
+KDE_NO_EXPORT NodePtr RSS::Rss::childFromTag (const TQString & tag) {
if (!strcmp (tag.latin1 (), "channel"))
return new RSS::Channel (m_doc);
return 0L;
}
-KDE_NO_EXPORT NodePtr RSS::Channel::childFromTag (const QString & tag) {
+KDE_NO_EXPORT NodePtr RSS::Channel::childFromTag (const TQString & tag) {
const char *ctag = tag.ascii ();
if (!strcmp (ctag, "item"))
return new RSS::Item (m_doc);
@@ -50,7 +50,7 @@ KDE_NO_EXPORT bool RSS::Channel::expose () const {
previousSibling () || nextSibling ();
}
-KDE_NO_EXPORT NodePtr RSS::Item::childFromTag (const QString & tag) {
+KDE_NO_EXPORT NodePtr RSS::Item::childFromTag (const TQString & tag) {
const char *ctag = tag.ascii ();
if (!strcmp (ctag, "enclosure"))
return new RSS::Enclosure (m_doc);
@@ -92,7 +92,7 @@ KDE_NO_EXPORT void RSS::Item::activate () {
if (n) {
for (NodePtr c = firstChild (); c; c = c->nextSibling ())
if (c->id == id_node_description) {
- QString s = c->innerText ();
+ TQString s = c->innerText ();
n->setInfoMessage (s);
if (!enclosure && !s.isEmpty ()) {
setState (state_activated);
@@ -113,7 +113,7 @@ KDE_NO_EXPORT void RSS::Item::deactivate () {
}
PlayListNotify * n = document()->notify_listener;
if (n)
- n->setInfoMessage (QString ());
+ n->setInfoMessage (TQString ());
Mrl::deactivate ();
}