KHTML
DOM::HTMLLinkElement Class Reference
TheLINK
element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
More...
#include <html_head.h>
Public Member Functions | |
DOMString | charset () const |
bool | disabled () const |
DOMString | href () const |
DOMString | hreflang () const |
HTMLLinkElement (const Node &other) | |
HTMLLinkElement (const HTMLLinkElement &other) | |
HTMLLinkElement () | |
DOMString | media () const |
HTMLLinkElement & | operator= (const Node &other) |
HTMLLinkElement & | operator= (const HTMLLinkElement &other) |
DOMString | rel () const |
DOMString | rev () const |
void | setCharset (const DOMString &) |
void | setDisabled (bool) |
void | setHref (const DOMString &) |
void | setHreflang (const DOMString &) |
void | setMedia (const DOMString &) |
void | setRel (const DOMString &) |
void | setRev (const DOMString &) |
void | setTarget (const DOMString &) |
void | setType (const DOMString &) |
StyleSheet | sheet () const |
DOMString | target () const |
DOMString | type () const |
~HTMLLinkElement () | |
Protected Member Functions | |
HTMLLinkElement (HTMLLinkElementImpl *impl) |
Detailed Description
TheLINK
element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
See the LINK element definition in HTML 4.0.
Definition at line 101 of file html_head.h.
Constructor & Destructor Documentation
HTMLLinkElement::HTMLLinkElement | ( | ) |
Definition at line 84 of file html_head.cpp.
HTMLLinkElement::HTMLLinkElement | ( | const HTMLLinkElement & | other | ) |
Definition at line 88 of file html_head.cpp.
DOM::HTMLLinkElement::HTMLLinkElement | ( | const Node & | other | ) | [inline] |
Definition at line 106 of file html_head.h.
HTMLLinkElement::HTMLLinkElement | ( | HTMLLinkElementImpl * | impl | ) | [protected] |
Definition at line 92 of file html_head.cpp.
HTMLLinkElement::~HTMLLinkElement | ( | ) |
Definition at line 108 of file html_head.cpp.
Member Function Documentation
DOMString HTMLLinkElement::charset | ( | ) | const |
The character encoding of the resource being linked to.
See the charset attribute definition in HTML 4.0.
Definition at line 124 of file html_head.cpp.
bool HTMLLinkElement::disabled | ( | ) | const |
Enables/disables the link.
This is currently only used for style sheet links, and may be used to activate or deactivate style sheets.
Definition at line 112 of file html_head.cpp.
DOMString HTMLLinkElement::href | ( | ) | const |
The URI of the linked resource.
See the href attribute definition in HTML 4.0.
Definition at line 135 of file html_head.cpp.
DOMString HTMLLinkElement::hreflang | ( | ) | const |
Language code of the linked resource.
See the hreflang attribute definition in HTML 4.0.
Definition at line 147 of file html_head.cpp.
DOMString HTMLLinkElement::media | ( | ) | const |
Designed for use with one or more target media.
See the media attribute definition in HTML 4.0.
Definition at line 158 of file html_head.cpp.
HTMLLinkElement & HTMLLinkElement::operator= | ( | const Node & | other | ) |
HTMLLinkElement & HTMLLinkElement::operator= | ( | const HTMLLinkElement & | other | ) |
Definition at line 102 of file html_head.cpp.
DOMString HTMLLinkElement::rel | ( | ) | const |
Forward link type.
See the rel attribute definition in HTML 4.0.
Definition at line 169 of file html_head.cpp.
DOMString HTMLLinkElement::rev | ( | ) | const |
Reverse link type.
See the rev attribute definition in HTML 4.0.
Definition at line 180 of file html_head.cpp.
void HTMLLinkElement::setCharset | ( | const DOMString & | value | ) |
void HTMLLinkElement::setDisabled | ( | bool | _disabled | ) |
void HTMLLinkElement::setHref | ( | const DOMString & | value | ) |
void HTMLLinkElement::setHreflang | ( | const DOMString & | value | ) |
void HTMLLinkElement::setMedia | ( | const DOMString & | value | ) |
void HTMLLinkElement::setRel | ( | const DOMString & | value | ) |
void HTMLLinkElement::setRev | ( | const DOMString & | value | ) |
void HTMLLinkElement::setTarget | ( | const DOMString & | value | ) |
void HTMLLinkElement::setType | ( | const DOMString & | value | ) |
StyleSheet HTMLLinkElement::sheet | ( | ) | const |
Introduced in DOM Level 2 This method is from the LinkStyle interface.
The style sheet.
Definition at line 213 of file html_head.cpp.
DOMString HTMLLinkElement::target | ( | ) | const |
Frame to render the resource in.
See the target attribute definition in HTML 4.0.
Definition at line 191 of file html_head.cpp.
DOMString HTMLLinkElement::type | ( | ) | const |
Advisory content type.
See the type attribute definition in HTML 4.0.
Definition at line 202 of file html_head.cpp.
The documentation for this class was generated from the following files: