KHTML
SVGElement.cpp
Go to the documentation of this file.
112 if (n->hasTagName(SVGNames::svgTag) || n->hasTagName(SVGNames::imageTag) || n->hasTagName(SVGNames::symbolTag))
121 void SVGElement::addSVGEventListener(/*const AtomicString& eventType*/const EventImpl::EventId& eventType, const Attribute* attr)
174 QList<RegisteredEventListener> *list = static_cast<Element*>(currentNode)->localEventListeners();
178 if ((*it).useCapture || (*it).eventName.id() == EventImpl::LOAD_EVENT/* || currentNode == node*/)
198 parent = currentTarget->parentNode(); // save the next parent to dispatch too incase dispatching the event changes the tree
207 currentTarget = (parent && parent->isSVGElement()) ? static_pointer_cast<SVGElement>(parent) : RefPtr<SVGElement>();
214 // we send SVGLoad events here if we can, otherwise they'll be sent when any required loads finish
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: dom_element.h:209
QStringList list(const QString &fileClass)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:245
const KShortcut & end()
Definition: QualifiedName.h:36
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
Definition: CSSHelper.h:6
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.