KHTML
SVGElement.cpp
Go to the documentation of this file.
112 if (n->hasTagName(SVGNames::svgTag) || n->hasTagName(SVGNames::imageTag) || n->hasTagName(SVGNames::symbolTag))
121void 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
232 std::auto_ptr<HashSet<SVGStyledElement*> > clients(extensions->removePendingResource(resourceId));
The Document interface represents the entire HTML or XML document.
Definition: dom_doc.h:246
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: dom_element.h:210
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
Definition: QualifiedName.h:36
#define kDebug
QStringList list(const QString &fileClass)
const KShortcut & end()
Definition: CSSHelper.h:7
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.