diff options
Diffstat (limited to 'src/kmplayerplaylist.cpp')
-rw-r--r-- | src/kmplayerplaylist.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kmplayerplaylist.cpp b/src/kmplayerplaylist.cpp index 9e1db11..a33d374 100644 --- a/src/kmplayerplaylist.cpp +++ b/src/kmplayerplaylist.cpp @@ -308,7 +308,7 @@ void Node::clearChildren () { void Node::appendChild (NodePtr c) { document()->m_tree_version++; - ASSERT (!c->tqparentNode ()); + ASSERT (!c->parentNode ()); TreeNode<Node>::appendChild (c); } @@ -316,7 +316,7 @@ void Node::insertBefore (NodePtr c, NodePtr b) { if (!b) { appendChild (c); } else { - ASSERT (!c->tqparentNode ()); + ASSERT (!c->parentNode ()); document()->m_tree_version++; if (b->m_prev) { b->m_prev->m_next = c; @@ -669,7 +669,7 @@ Node::PlayType Mrl::playType () { TQString Mrl::absolutePath () { TQString path = src; if (!path.isEmpty()) { - for (NodePtr e = tqparentNode (); e; e = e->tqparentNode ()) { + for (NodePtr e = parentNode (); e; e = e->parentNode ()) { Mrl * mrl = e->mrl (); if (mrl && !mrl->src.isEmpty () && mrl->src != src) { path = KURL (mrl->absolutePath (), src).url (); @@ -737,7 +737,7 @@ void Mrl::begin () { } SurfacePtr Mrl::getSurface (NodePtr node) { - for (NodePtr p = tqparentNode (); p; p = p->tqparentNode ()) + for (NodePtr p = parentNode (); p; p = p->parentNode ()) if (p->mrl ()) return p->getSurface (node); return 0L; @@ -782,7 +782,7 @@ Surface::~Surface() { } void Surface::remove () { - Surface *sp = tqparentNode ().ptr (); + Surface *sp = parentNode ().ptr (); if (sp) { sp->markDirty (); sp->removeChild (this); @@ -790,7 +790,7 @@ void Surface::remove () { } void Surface::markDirty () { - for (Surface *s = this; s; s = s->tqparentNode ().ptr ()) + for (Surface *s = this; s; s = s->parentNode ().ptr ()) s->dirty = true; } @@ -1218,10 +1218,10 @@ bool DocumentBuilder::endTag (const TQString & tag) { (m_root_is_first || n != m_root)) { while (n != m_node) { kdWarning() << m_node->nodeName () << " not closed" << endl; - if (m_root == m_node->tqparentNode ()) + if (m_root == m_node->parentNode ()) break; m_node->closed (); - m_node = m_node->tqparentNode (); + m_node = m_node->parentNode (); } break; } @@ -1234,11 +1234,11 @@ bool DocumentBuilder::endTag (const TQString & tag) { break; } else kdWarning () << "tag " << tag << " not " << n->nodeName () << endl; - n = n ->tqparentNode (); + n = n ->parentNode (); } //kdDebug () << "end tag " << tag << endl; m_node->closed (); - m_node = m_node->tqparentNode (); + m_node = m_node->parentNode (); } return true; } @@ -1417,7 +1417,7 @@ void KMPlayer::readXML (NodePtr root, TQTextStream & in, const TQString & firstl } if (!in.atEnd ()) parser.parse (in); - for (NodePtr e = root; e; e = e->tqparentNode ()) + for (NodePtr e = root; e; e = e->parentNode ()) e->closed (); //doc->normalize (); //kdDebug () << root->outerXML (); |