• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • khtml
 

khtml

  • DOM
  • HTMLScriptElement
Public Member Functions | Protected Member Functions | List of all members
DOM::HTMLScriptElement Class Reference

#include <html_head.h>

Inheritance diagram for DOM::HTMLScriptElement:
DOM::HTMLElement DOM::Element DOM::Node

Public Member Functions

 HTMLScriptElement (const HTMLScriptElement &other)
 HTMLScriptElement (const Node &other)
HTMLScriptElement & operator= (const HTMLScriptElement &other)
HTMLScriptElement & operator= (const Node &other)
DOMString text () const
void setText (const DOMString &)
DOMString htmlFor () const
void setHtmlFor (const DOMString &)
DOMString event () const
void setEvent (const DOMString &)
DOMString charset () const
void setCharset (const DOMString &)
bool defer () const
void setDefer (bool)
DOMString src () const
void setSrc (const DOMString &)
DOMString type () const
void setType (const DOMString &)
- Public Member Functions inherited from DOM::HTMLElement
 HTMLElement (const HTMLElement &other)
 HTMLElement (const Node &other)
HTMLElement & operator= (const HTMLElement &other)
DOMString id () const
void setId (const DOMString &)
DOMString title () const
void setTitle (const DOMString &)
DOMString lang () const
void setLang (const DOMString &)
DOMString dir () const
void setDir (const DOMString &)
DOMString className () const
void setClassName (const DOMString &)
DOMString innerHTML () const
void setInnerHTML (const DOMString &html)
DOMString innerText () const
void setInnerText (const DOMString &text)
HTMLCollection children () const
HTMLCollection all () const
void removeCSSProperty (const DOMString &property)
void addCSSProperty (const DOMString &property, const DOMString &value)
- Public Member Functions inherited from DOM::Element
 Element (const Node &other)
 Element (const Element &other)
Element & operator= (const Element &other)
DOMString tagName () const
DOMString getAttribute (const DOMString &name)
void setAttribute (const DOMString &name, const DOMString &value)
void removeAttribute (const DOMString &name)
Attr getAttributeNode (const DOMString &name)
Attr setAttributeNode (const Attr &newAttr)
Attr removeAttributeNode (const Attr &oldAttr)
NodeList getElementsByTagName (const DOMString &name)
NodeList getElementsByTagNameNS (const DOMString &namespaceURI, const DOMString &localName)
DOMString getAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
void setAttributeNS (const DOMString &namespaceURI, const DOMString &qualifiedName, const DOMString &value)
void removeAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
Attr getAttributeNodeNS (const DOMString &namespaceURI, const DOMString &localName)
Attr setAttributeNodeNS (const Attr &newAttr)
bool hasAttribute (const DOMString &name)
bool hasAttributeNS (const DOMString &namespaceURI, const DOMString &localName)
CSSStyleDeclaration style ()
bool contentEditable () const
void setContentEditable (bool enabled)
bool isHTMLElement () const
Element form () const
- Public Member Functions inherited from DOM::Node
 Node (const Node &other)
 Node (NodeImpl *_impl)
bool operator== (const Node &other) const
bool operator!= (const Node &other) const
DOMString nodeName () const
DOMString nodeValue () const
void setNodeValue (const DOMString &)
unsigned short nodeType () const
Node parentNode () const
NodeList childNodes () const
Node firstChild () const
Node lastChild () const
Node previousSibling () const
Node nextSibling () const
NamedNodeMap attributes () const
Document ownerDocument () const
Node insertBefore (const Node &newChild, const Node &refChild)
Node replaceChild (const Node &newChild, const Node &oldChild)
Node removeChild (const Node &oldChild)
Node appendChild (const Node &newChild)
bool hasChildNodes ()
Node cloneNode (bool deep)
void normalize ()
bool isSupported (const DOMString &feature, const DOMString &version) const
DOMString namespaceURI () const
DOMString prefix () const
void setPrefix (const DOMString &prefix)
DOMString localName () const
bool hasAttributes ()
DOMString textContent () const
void setTextContent (const DOMString &content) const
void addEventListener (const DOMString &type, EventListener *listener, const bool useCapture)
void removeEventListener (const DOMString &type, EventListener *listener, bool useCapture)
bool dispatchEvent (const Event &evt)
TQ_UINT32 elementId () const
bool isNull () const
NodeImpl * handle () const
unsigned long index () const
TQString toHTML () KDE_DEPRECATED
void applyChanges ()
void getCursor (int offset, int &_x, int &_y, int &height) KDE_DEPRECATED
TQRect getRect ()

Protected Member Functions

 HTMLScriptElement (HTMLScriptElementImpl *impl)
- Protected Member Functions inherited from DOM::HTMLElement
 HTMLElement (HTMLElementImpl *impl)
void assignOther (const Node &other, int elementId)
- Protected Member Functions inherited from DOM::Element
 Element (ElementImpl *_impl)

Additional Inherited Members

- Public Types inherited from DOM::Node
enum  NodeType {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4,
  ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8,
  DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11, NOTATION_NODE = 12
}
- Static Public Member Functions inherited from DOM::Element
static bool khtmlValidAttrName (const DOMString &name)
static bool khtmlValidPrefix (const DOMString &name)
static bool khtmlValidQualifiedName (const DOMString &name)
static bool khtmlMalformedQualifiedName (const DOMString &name)
static bool khtmlMalformedPrefix (const DOMString &name)
- Protected Attributes inherited from DOM::Node
NodeImpl * impl

Detailed Description

Script statements.

See the SCRIPT element definition in HTML 4.0.

Definition at line 335 of file html_head.h.

Member Function Documentation

DOMString HTMLScriptElement::charset ( ) const

The character encoding of the linked resource.

See the charset attribute definition in HTML 4.0.

Definition at line 356 of file html_head.cpp.

bool HTMLScriptElement::defer ( ) const

Indicates that the user agent can defer processing of the script.

See the defer attribute definition in HTML 4.0.

Definition at line 367 of file html_head.cpp.

DOMString HTMLScriptElement::event ( ) const

Reserved for future use.

Definition at line 345 of file html_head.cpp.

DOMString HTMLScriptElement::htmlFor ( ) const

Reserved for future use.

Definition at line 334 of file html_head.cpp.

void HTMLScriptElement::setCharset ( const DOMString &  value)

see charset

Definition at line 362 of file html_head.cpp.

void HTMLScriptElement::setDefer ( bool  _defer)

see defer

Definition at line 373 of file html_head.cpp.

void HTMLScriptElement::setEvent ( const DOMString &  )

see event

Definition at line 351 of file html_head.cpp.

void HTMLScriptElement::setHtmlFor ( const DOMString &  )

see htmlFor

Definition at line 340 of file html_head.cpp.

void HTMLScriptElement::setSrc ( const DOMString &  value)

see src

Definition at line 387 of file html_head.cpp.

void HTMLScriptElement::setText ( const DOMString &  value)

see text

Definition at line 329 of file html_head.cpp.

void HTMLScriptElement::setType ( const DOMString &  value)

see type

Definition at line 398 of file html_head.cpp.

DOMString HTMLScriptElement::src ( ) const

URI designating an external script.

See the src attribute definition in HTML 4.0.

Definition at line 380 of file html_head.cpp.

DOMString HTMLScriptElement::text ( ) const

The script content of the element.

Definition at line 323 of file html_head.cpp.

DOMString HTMLScriptElement::type ( ) const

The content type of the script language.

See the type attribute definition in HTML 4.0.

Definition at line 392 of file html_head.cpp.


The documentation for this class was generated from the following files:
  • html_head.h
  • html_head.cpp

khtml

Skip menu "khtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

khtml

Skip menu "khtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for khtml by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |