• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • DOM
  • HTMLScriptElement
Public Member Functions | Protected Member Functions
DOM::HTMLScriptElement Class Reference

#include <html_head.h>

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

List of all members.

Public Member Functions

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

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)

Detailed Description

Script statements.

See the SCRIPT element definition in HTML 4.0.

Definition at line 335 of file html_head.h.


Constructor & Destructor Documentation

HTMLScriptElement::HTMLScriptElement ( )

Definition at line 294 of file html_head.cpp.

HTMLScriptElement::HTMLScriptElement ( const HTMLScriptElement &  other)

Definition at line 298 of file html_head.cpp.

DOM::HTMLScriptElement::HTMLScriptElement ( const Node &  other)
inline

Definition at line 340 of file html_head.h.

HTMLScriptElement::HTMLScriptElement ( HTMLScriptElementImpl *  impl)
protected

Definition at line 302 of file html_head.cpp.

HTMLScriptElement::~HTMLScriptElement ( )

Definition at line 318 of file html_head.cpp.


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 355 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 366 of file html_head.cpp.

DOMString HTMLScriptElement::event ( ) const

Reserved for future use.

Definition at line 344 of file html_head.cpp.

DOMString HTMLScriptElement::htmlFor ( ) const

Reserved for future use.

Definition at line 333 of file html_head.cpp.

HTMLScriptElement & HTMLScriptElement::operator= ( const HTMLScriptElement &  other)

Definition at line 312 of file html_head.cpp.

HTMLScriptElement & HTMLScriptElement::operator= ( const Node &  other)

Reimplemented from DOM::HTMLElement.

Definition at line 306 of file html_head.cpp.

void HTMLScriptElement::setCharset ( const DOMString &  value)

see charset

Definition at line 361 of file html_head.cpp.

void HTMLScriptElement::setDefer ( bool  _defer)

see defer

Definition at line 372 of file html_head.cpp.

void HTMLScriptElement::setEvent ( const DOMString &  )

see event

Definition at line 350 of file html_head.cpp.

void HTMLScriptElement::setHtmlFor ( const DOMString &  )

see htmlFor

Definition at line 339 of file html_head.cpp.

void HTMLScriptElement::setSrc ( const DOMString &  value)

see src

Definition at line 386 of file html_head.cpp.

void HTMLScriptElement::setText ( const DOMString &  value)

see text

Definition at line 328 of file html_head.cpp.

void HTMLScriptElement::setType ( const DOMString &  value)

see type

Definition at line 397 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 379 of file html_head.cpp.

DOMString HTMLScriptElement::text ( ) const

The script content of the element.

Definition at line 322 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 391 of file html_head.cpp.


The documentation for this class was generated from the following files:
  • html_head.h
  • html_head.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 11:51:12 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

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

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal