summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_rss.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayer_rss.cpp')
-rw-r--r--src/kmplayer_rss.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kmplayer_rss.cpp b/src/kmplayer_rss.cpp
index 174fe23..9833474 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 TQString & tag) {
+TDE_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 TQString & tag) {
+TDE_NO_EXPORT NodePtr RSS::Channel::childFromTag (const TQString & tag) {
const char *ctag = tag.ascii ();
if (!strcmp (ctag, "item"))
return new RSS::Item (m_doc);
@@ -37,7 +37,7 @@ KDE_NO_EXPORT NodePtr RSS::Channel::childFromTag (const TQString & tag) {
return 0L;
}
-KDE_NO_EXPORT void RSS::Channel::closed () {
+TDE_NO_EXPORT void RSS::Channel::closed () {
for (NodePtr c = firstChild (); c; c = c->nextSibling ())
if (c->id == id_node_title) {
pretty_name = c->innerText ().simplifyWhiteSpace ();
@@ -45,12 +45,12 @@ KDE_NO_EXPORT void RSS::Channel::closed () {
}
}
-KDE_NO_EXPORT bool RSS::Channel::expose () const {
+TDE_NO_EXPORT bool RSS::Channel::expose () const {
return !pretty_name.isEmpty () || //return false if no title and only one
previousSibling () || nextSibling ();
}
-KDE_NO_EXPORT NodePtr RSS::Item::childFromTag (const TQString & tag) {
+TDE_NO_EXPORT NodePtr RSS::Item::childFromTag (const TQString & tag) {
const char *ctag = tag.ascii ();
if (!strcmp (ctag, "enclosure"))
return new RSS::Enclosure (m_doc);
@@ -61,7 +61,7 @@ KDE_NO_EXPORT NodePtr RSS::Item::childFromTag (const TQString & tag) {
return 0L;
}
-KDE_NO_EXPORT void RSS::Item::closed () {
+TDE_NO_EXPORT void RSS::Item::closed () {
cached_play_type = play_type_none;
for (NodePtr c = firstChild (); c; c = c->nextSibling ()) {
switch (c->id) {
@@ -81,13 +81,13 @@ KDE_NO_EXPORT void RSS::Item::closed () {
cached_play_type = play_type_audio;
}
-KDE_NO_EXPORT Mrl * RSS::Item::linkNode () {
+TDE_NO_EXPORT Mrl * RSS::Item::linkNode () {
if (enclosure)
return enclosure->mrl ();
return Mrl::linkNode ();
}
-KDE_NO_EXPORT void RSS::Item::activate () {
+TDE_NO_EXPORT void RSS::Item::activate () {
PlayListNotify * n = document()->notify_listener;
if (n) {
for (NodePtr c = firstChild (); c; c = c->nextSibling ())
@@ -106,7 +106,7 @@ KDE_NO_EXPORT void RSS::Item::activate () {
Mrl::activate ();
}
-KDE_NO_EXPORT void RSS::Item::deactivate () {
+TDE_NO_EXPORT void RSS::Item::deactivate () {
if (timer) {
document ()->cancelTimer (timer);
timer = 0L;
@@ -117,7 +117,7 @@ KDE_NO_EXPORT void RSS::Item::deactivate () {
Mrl::deactivate ();
}
-KDE_NO_EXPORT bool RSS::Item::handleEvent (EventPtr event) {
+TDE_NO_EXPORT bool RSS::Item::handleEvent (EventPtr event) {
if (event->id () == event_timer) {
timer = 0L;
finish ();
@@ -125,6 +125,6 @@ KDE_NO_EXPORT bool RSS::Item::handleEvent (EventPtr event) {
return true;
}
-KDE_NO_EXPORT void RSS::Enclosure::closed () {
+TDE_NO_EXPORT void RSS::Enclosure::closed () {
src = getAttribute (StringPool::attr_url);
}