diff options
Diffstat (limited to 'src/kmplayer_asx.cpp')
-rw-r--r-- | src/kmplayer_asx.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kmplayer_asx.cpp b/src/kmplayer_asx.cpp index 26869f3..1ac7de7 100644 --- a/src/kmplayer_asx.cpp +++ b/src/kmplayer_asx.cpp @@ -31,7 +31,7 @@ static TQString getAsxAttribute (Element * e, const TQString & attr) { return TQString (); } -KDE_NO_EXPORT NodePtr ASX::Asx::childFromTag (const TQString & tag) { +TDE_NO_EXPORT NodePtr ASX::Asx::childFromTag (const TQString & tag) { const char * name = tag.latin1 (); if (!strcasecmp (name, "entry")) return new ASX::Entry (m_doc); @@ -46,7 +46,7 @@ KDE_NO_EXPORT NodePtr ASX::Asx::childFromTag (const TQString & tag) { return 0L; } -KDE_NO_EXPORT Node::PlayType ASX::Asx::playType () { +TDE_NO_EXPORT Node::PlayType ASX::Asx::playType () { if (cached_ismrl_version != document ()->m_tree_version) for (NodePtr e = firstChild (); e; e = e->nextSibling ()) { if (e->id == id_node_title) @@ -59,7 +59,7 @@ KDE_NO_EXPORT Node::PlayType ASX::Asx::playType () { //----------------------------------------------------------------------------- -KDE_NO_EXPORT NodePtr ASX::Entry::childFromTag (const TQString & tag) { +TDE_NO_EXPORT NodePtr ASX::Entry::childFromTag (const TQString & tag) { const char * name = tag.latin1 (); if (!strcasecmp (name, "ref")) return new ASX::Ref (m_doc); @@ -76,7 +76,7 @@ KDE_NO_EXPORT NodePtr ASX::Entry::childFromTag (const TQString & tag) { return 0L; } -KDE_NO_EXPORT Node::PlayType ASX::Entry::playType () { +TDE_NO_EXPORT Node::PlayType ASX::Entry::playType () { if (cached_ismrl_version != document ()->m_tree_version) { ref_child_count = 0; NodePtr ref; @@ -100,7 +100,7 @@ KDE_NO_EXPORT Node::PlayType ASX::Entry::playType () { return play_type_none; } -KDE_NO_EXPORT void ASX::Entry::activate () { +TDE_NO_EXPORT void ASX::Entry::activate () { resolved = true; for (NodePtr e = firstChild (); e; e = e->nextSibling ()) if (e->id == id_node_param) { @@ -116,30 +116,30 @@ KDE_NO_EXPORT void ASX::Entry::activate () { Mrl::activate (); } -KDE_NO_EXPORT void ASX::Entry::deactivate () { +TDE_NO_EXPORT void ASX::Entry::deactivate () { PlayListNotify * n = document ()->notify_listener; if (n) n->setInfoMessage (TQString ()); } -KDE_NO_EXPORT bool ASX::Entry::expose () const { +TDE_NO_EXPORT bool ASX::Entry::expose () const { return ref_child_count > 1 && !pretty_name.isEmpty (); } //----------------------------------------------------------------------------- -KDE_NO_EXPORT void ASX::Ref::opened () { +TDE_NO_EXPORT void ASX::Ref::opened () { src = getAsxAttribute (this, "href"); //kdDebug () << "Ref attr found src: " << src << endl; } -KDE_NO_EXPORT bool ASX::Ref::expose () const { +TDE_NO_EXPORT bool ASX::Ref::expose () const { return !src.isEmpty (); } //----------------------------------------------------------------------------- -KDE_NO_EXPORT void ASX::EntryRef::opened () { +TDE_NO_EXPORT void ASX::EntryRef::opened () { src = getAsxAttribute (this, "href"); //kdDebug () << "EntryRef attr found src: " << src << endl; } |