37 #include <tdelibs_export.h>
50 class NamedNodeMapImpl;
81 unsigned long length()
const;
127 Node setNamedItem (
const Node &arg );
158 Node item (
unsigned long index )
const;
200 Node setNamedItemNS(
const Node &arg );
233 NamedNodeMapImpl *handle()
const {
return impl; }
234 bool isNull()
const {
return !impl; }
238 NamedNodeMapImpl *impl;
242 friend class NodeImpl;
288 Node( NodeImpl *_impl);
290 Node & operator = (
const Node &other);
292 bool operator == (
const Node &other)
const;
294 bool operator != (
const Node &other)
const;
389 CDATA_SECTION_NODE = 4,
390 ENTITY_REFERENCE_NODE = 5,
392 PROCESSING_INSTRUCTION_NODE = 7,
395 DOCUMENT_TYPE_NODE = 10,
396 DOCUMENT_FRAGMENT_NODE = 11,
432 unsigned short nodeType()
const;
442 Node parentNode()
const;
464 Node firstChild()
const;
471 Node lastChild()
const;
478 Node previousSibling()
const;
485 Node nextSibling()
const;
538 Node insertBefore (
const Node &newChild,
const Node &refChild );
568 Node replaceChild (
const Node &newChild,
const Node &oldChild );
585 Node removeChild (
const Node &oldChild );
613 Node appendChild (
const Node &newChild );
623 bool hasChildNodes ( );
645 Node cloneNode (
bool deep );
683 bool isSupported(
const DOMString &feature,
738 void setPrefix(
const DOMString &prefix );
755 bool hasAttributes ( );
783 void setTextContent(
const DOMString &content)
const;
813 void addEventListener(
const DOMString &type,
815 const bool useCapture);
842 void removeEventListener(
const DOMString &type,
869 bool dispatchEvent(
const Event &evt);
878 TQ_UINT32 elementId()
const;
897 NodeImpl *handle()
const {
return impl; }
902 unsigned long index()
const;
903 TQString toHTML() KDE_DEPRECATED;
908 void getCursor(
int offset,
int &_x,
int &_y,
int &height) KDE_DEPRECATED;
937 friend class KJS::HTMLDocument;
938 friend class KJS::Window;
942 NodeList(
const NodeList &other);
944 NodeList & operator = (
const NodeList &other);
953 unsigned long length()
const;
967 Node item (
unsigned long index )
const;
973 NodeListImpl *handle()
const {
return impl; }
974 bool isNull()
const {
return !impl; }
977 NodeList(
const NodeListImpl *i);