KHTML
Go to the documentation of this file.
25 #include "html/html_headimpl.h"
26 #include "xml/dom_docimpl.h"
67 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HREF, value);
73 return ((ElementImpl *)
impl)->getAttribute(ATTR_TARGET);
78 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TARGET, value);
114 return !((ElementImpl *)
impl)->getAttribute(ATTR_DISABLED).isNull();
120 ((ElementImpl *)
impl)->setAttribute(ATTR_DISABLED, _disabled ?
"" : 0);
126 return ((ElementImpl *)
impl)->getAttribute(ATTR_CHARSET);
131 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CHARSET, value);
143 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HREF, value);
149 return ((ElementImpl *)
impl)->getAttribute(ATTR_HREFLANG);
154 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HREFLANG, value);
160 return ((ElementImpl *)
impl)->getAttribute(ATTR_MEDIA);
165 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MEDIA, value);
171 return ((ElementImpl *)
impl)->getAttribute(ATTR_REL);
176 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_REL, value);
182 return ((ElementImpl *)
impl)->getAttribute(ATTR_REV);
187 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_REV, value);
193 return ((ElementImpl *)
impl)->getAttribute(ATTR_TARGET);
198 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TARGET, value);
204 return ((ElementImpl *)
impl)->getAttribute(ATTR_TYPE);
209 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TYPE, value);
215 return ((HTMLLinkElementImpl *)
impl)->sheet();
251 return ((ElementImpl *)
impl)->getAttribute(ATTR_CONTENT);
256 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CONTENT, value);
262 return ((ElementImpl *)
impl)->getAttribute(ATTR_HTTP_EQUIV);
267 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_HTTP_EQUIV, value);
273 return ((ElementImpl *)
impl)->getAttribute(ATTR_NAME);
278 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_NAME, value);
284 return ((ElementImpl *)
impl)->getAttribute(ATTR_SCHEME);
289 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SCHEME, value);
325 return ((HTMLScriptElementImpl *)
impl)->text();
330 if(
impl) ((HTMLScriptElementImpl *)
impl)->setText(value);
358 return ((ElementImpl *)
impl)->getAttribute(ATTR_CHARSET);
363 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_CHARSET, value);
369 return !((ElementImpl *)
impl)->getAttribute(ATTR_DEFER).isNull();
376 ((ElementImpl *)
impl)->setAttribute(ATTR_DEFER,_defer ?
"" : 0);
388 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_SRC, value);
394 return ((ElementImpl *)
impl)->getAttribute(ATTR_TYPE);
399 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TYPE, value);
435 return !((HTMLStyleElementImpl *)
impl)->getAttribute(ATTR_DISABLED).isNull();
442 ((ElementImpl *)
impl)->setAttribute(ATTR_DISABLED,_disabled ?
"" : 0);
448 return ((ElementImpl *)
impl)->getAttribute(ATTR_MEDIA);
453 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_MEDIA, value);
459 return ((ElementImpl *)
impl)->getAttribute(ATTR_TYPE);
464 if(
impl) ((ElementImpl *)
impl)->setAttribute(ATTR_TYPE, value);
470 return ((HTMLStyleElementImpl *)
impl)->sheet();
507 return ((HTMLTitleElementImpl *)
impl)->text();
512 if(
impl) ((HTMLTitleElementImpl *)
impl)->setText(value);
void setTarget(const DOMString &)
see target
void setTarget(const DOMString &)
see target
DOMString media() const
Designed for use with one or more target media.
bool disabled() const
Enables/disables the style sheet.
void setHref(const DOMString &)
see href
void setType(const DOMString &)
see type
void setEvent(const DOMString &)
see event
void setMedia(const DOMString &)
see media
void setHref(const DOMString &)
see href
DOMString target() const
The default target frame.
void setMedia(const DOMString &)
see media
All HTML element interfaces derive from this class.
bool disabled() const
Enables/disables the link.
void setRel(const DOMString &)
see rel
DOMString src() const
URI designating an external script.
DOMString type() const
The content type of the script language.
DOMString hreflang() const
Language code of the linked resource.
DOMString htmlFor() const
Reserved for future use.
This library provides a full-featured HTML parser and widget.
DOMString type() const
Advisory content type.
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
void setCharset(const DOMString &)
see charset
void setType(const DOMString &)
see type
HTMLElement & operator=(const HTMLElement &other)
DOMString href() const
The URI of the linked resource.
HTMLLinkElement & operator=(const HTMLLinkElement &other)
DOMString href() const
The base URI See the href attribute definition in HTML 4.0.
The StyleSheet interface is the abstract base interface for any type of style sheet.
StyleSheet sheet() const
Introduced in DOM Level 2 This method is from the LinkStyle interface.
void setType(const DOMString &)
see type
void setRev(const DOMString &)
see rev
DOMString rev() const
Reverse link type.
DOMString target() const
Frame to render the resource in.
void assignOther(const Node &other, int elementId)
void setText(const DOMString &)
see text
void setCharset(const DOMString &)
see charset
DOMString type() const
The style sheet language (Internet media type).
bool defer() const
Indicates that the user agent can defer processing of the script.
void setHreflang(const DOMString &)
see hreflang
void setText(const DOMString &)
see text
StyleSheet sheet() const
Introduced in DOM Level 2 This method is from the LinkStyle interface.
The LINK element specifies a link to an external resource, and defines this document's relationship t...
HTMLBaseElement & operator=(const HTMLBaseElement &other)
HTMLStyleElement & operator=(const HTMLStyleElement &other)
void setHtmlFor(const DOMString &)
see htmlFor
This class implements the basic string we use in the DOM.
void setDisabled(bool)
see disabled
HTMLTitleElement & operator=(const HTMLTitleElement &other)
DOMString parsedUrl() const
Return a parsed url.
HTMLScriptElement & operator=(const HTMLScriptElement &other)
DOMString event() const
Reserved for future use.
DOMString text() const
The specified title as a string.
DOMString charset() const
The character encoding of the resource being linked to.
DOMString text() const
The script content of the element.
The Node interface is the primary datatype for the entire Document Object Model.
DOMString charset() const
The character encoding of the linked resource.
void setSrc(const DOMString &)
see src
DOMString media() const
Designed for use with one or more target media.
void setDefer(bool)
see defer
void setDisabled(bool)
see disabled
DOMString rel() const
Forward link type.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.