KHtml
32 #include <khtml_export.h>
48 class NamedNodeMapImpl;
79 unsigned long length()
const;
156 Node item(
unsigned long index)
const;
198 Node setNamedItemNS(
const Node &arg);
241 NamedNodeMap(NamedNodeMapImpl *i);
242 NamedNodeMapImpl *impl;
245 friend class DocumentType;
246 friend class NodeImpl;
286 Node() : impl(
nullptr) {}
292 Node(NodeImpl *_impl);
294 Node &operator = (
const Node &other);
296 bool operator == (
const Node &other)
const;
298 bool operator != (
const Node &other)
const;
393 CDATA_SECTION_NODE = 4,
394 ENTITY_REFERENCE_NODE = 5,
396 PROCESSING_INSTRUCTION_NODE = 7,
399 DOCUMENT_TYPE_NODE = 10,
400 DOCUMENT_FRAGMENT_NODE = 11,
402 XPATH_NAMESPACE_NODE = 13
437 unsigned short nodeType()
const;
447 Node parentNode()
const;
469 Node firstChild()
const;
476 Node lastChild()
const;
483 Node previousSibling()
const;
490 Node nextSibling()
const;
543 Node insertBefore(
const Node &newChild,
const Node &refChild);
573 Node replaceChild(
const Node &newChild,
const Node &oldChild);
590 Node removeChild(
const Node &oldChild);
618 Node appendChild(
const Node &newChild);
628 bool hasChildNodes();
650 Node cloneNode(
bool deep);
688 bool isSupported(
const DOMString &feature,
760 bool hasAttributes();
790 void addEventListener(
const DOMString &type,
792 const bool useCapture);
819 void removeEventListener(
const DOMString &type,
846 bool dispatchEvent(
const Event &evt);
873 void setTextContent(
const DOMString &text);
884 DOCUMENT_POSITION_DISCONNECTED = 0x01,
885 DOCUMENT_POSITION_PRECEDING = 0x02,
886 DOCUMENT_POSITION_FOLLOWING = 0x04,
887 DOCUMENT_POSITION_CONTAINS = 0x08,
888 DOCUMENT_POSITION_CONTAINED_BY = 0x10,
889 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20
907 unsigned compareDocumentPosition(
const DOM::Node &other);
914 quint32 elementId()
const;
944 unsigned long index()
const;
945 #ifndef KHTML_NO_DEPRECATED
946 KHTML_DEPRECATED
QString toHTML();
952 #ifndef KHTML_NO_DEPRECATED
953 KHTML_DEPRECATED
void getCursor(
int offset,
int &_x,
int &_y,
int &height);
983 friend class KJS::HTMLDocument;
984 friend class KJS::Window;
999 unsigned long length()
const;
1013 Node item(
unsigned long index)
const;
1029 NodeList(
const NodeListImpl *i);
Introduced in DOM Level 2.
Introduced in DOM Level 2.
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
This library provides a full-featured HTML parser and widget.
NodeType
An integer indicating which type of node this is.
An HTMLCollection is a list of nodes.
NamedNodeMapImpl * handle() const
The StyleSheet interface is the abstract base interface for any type of style sheet.
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
NodeListImpl * handle() const
The Document interface represents the entire HTML or XML document.
unsigned long long DOMTimeStamp
A DOMTimeStamp represents a number of milliseconds.
DocumentPosition
Introduced in DOM Level 3.
DocumentFragment is a "lightweight" or "minimal" Document object.
This class implements the basic string we use in the DOM.
The NodeList interface provides the abstraction of an ordered collection of nodes,...
Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can b...
The Node interface is the primary datatype for the entire Document Object Model.
NodeImpl * handle() const
bool isNull() const
tests if this Node is 0.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 03:55:49 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.