diff options
Diffstat (limited to 'src/viewarea.cpp')
-rw-r--r-- | src/viewarea.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/viewarea.cpp b/src/viewarea.cpp index 3e5085e..229efca 100644 --- a/src/viewarea.cpp +++ b/src/viewarea.cpp @@ -188,7 +188,7 @@ KDE_NO_EXPORT void ViewSurface::resize (const SRect &r) { KDE_NO_EXPORT IRect ViewSurface::toScreen (Single x, Single y, Single w, Single h) { Matrix matrix (0, 0, xscale, yscale); matrix.translate (bounds.x (), bounds.y ()); - for (SurfacePtr s = tqparentNode(); s; s = s->tqparentNode()) { + for (SurfacePtr s = parentNode(); s; s = s->parentNode()) { matrix.transform(Matrix (0, 0, s->xscale, s->yscale)); matrix.translate (s->bounds.x (), s->bounds.y ()); } @@ -1232,7 +1232,7 @@ static void followLink (SMIL::LinkingBase * link) { else kdError() << "In document jumps smil not found" << endl; } else - for (NodePtr p = link->tqparentNode (); p; p = p->tqparentNode ()) { + for (NodePtr p = link->parentNode (); p; p = p->parentNode ()) { if (n->mrl () && n->mrl ()->opener == p) { p->setState (Node::state_deferred); p->mrl ()->setParam (StringPool::attr_src, link->href, 0L); @@ -1251,7 +1251,7 @@ KDE_NO_EXPORT void MouseVisitor::visit (SMIL::Anchor * anchor) { } KDE_NO_EXPORT void MouseVisitor::visit (SMIL::Area * area) { - NodePtr n = area->tqparentNode (); + NodePtr n = area->parentNode (); if (n->id >= SMIL::id_node_first_mediatype && n->id < SMIL::id_node_last_mediatype) { SMIL::MediaType * mt = convertNode <SMIL::MediaType> (n); |