diff options
author | Michele Calgaro <[email protected]> | 2024-05-03 12:15:51 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-03 13:17:15 +0900 |
commit | 22a46b7525fb4db31bdd603c7a18a9204144ef0f (patch) | |
tree | 3b66e89fa223a12e750ac61ce9bbb5238adc221a /src/kmplayer_asx.cpp | |
parent | 132da05296348b21a3c600ecc299d3440e8f0f72 (diff) | |
download | kmplayer-22a46b7525fb4db31bdd603c7a18a9204144ef0f.tar.gz kmplayer-22a46b7525fb4db31bdd603c7a18a9204144ef0f.zip |
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]>
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; } |