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

KHTML

  • khtml
  • dom
html_head.cpp
Go to the documentation of this file.
1
22// --------------------------------------------------------------------------
23
24#include "dom/html_head.h"
25#include "html/html_headimpl.h"
26#include "xml/dom_docimpl.h"
27
28using namespace DOM;
29
30HTMLBaseElement::HTMLBaseElement() : HTMLElement()
31{
32}
33
34HTMLBaseElement::HTMLBaseElement(const HTMLBaseElement &other) : HTMLElement(other)
35{
36}
37
38HTMLBaseElement::HTMLBaseElement(HTMLBaseElementImpl *impl) : HTMLElement(impl)
39{
40}
41
42HTMLBaseElement &HTMLBaseElement::operator = (const Node &other)
43{
44 assignOther( other, ID_BASE );
45 return *this;
46}
47
48HTMLBaseElement &HTMLBaseElement::operator = (const HTMLBaseElement &other)
49{
50 HTMLElement::operator = (other);
51 return *this;
52}
53
54HTMLBaseElement::~HTMLBaseElement()
55{
56}
57
58DOMString HTMLBaseElement::href() const
59{
60 if(!impl) return DOMString();
61 const DOMString href = static_cast<ElementImpl*>(impl)->getAttribute(ATTR_HREF).parsedUrl();
62 return !href.isNull() ? impl->document()->completeURL(href.string()) : href;
63}
64
65void HTMLBaseElement::setHref( const DOMString &value )
66{
67 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HREF, value);
68}
69
70DOMString HTMLBaseElement::target() const
71{
72 if(!impl) return DOMString();
73 return ((ElementImpl *)impl)->getAttribute(ATTR_TARGET);
74}
75
76void HTMLBaseElement::setTarget( const DOMString &value )
77{
78 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TARGET, value);
79}
80
81// --------------------------------------------------------------------------
82
83HTMLLinkElement::HTMLLinkElement() : HTMLElement()
84{
85}
86
87HTMLLinkElement::HTMLLinkElement(const HTMLLinkElement &other) : HTMLElement(other)
88{
89}
90
91HTMLLinkElement::HTMLLinkElement(HTMLLinkElementImpl *impl) : HTMLElement(impl)
92{
93}
94
95HTMLLinkElement &HTMLLinkElement::operator = (const Node &other)
96{
97 assignOther( other, ID_LINK );
98 return *this;
99}
100
101HTMLLinkElement &HTMLLinkElement::operator = (const HTMLLinkElement &other)
102{
103 HTMLElement::operator = (other);
104 return *this;
105}
106
107HTMLLinkElement::~HTMLLinkElement()
108{
109}
110
111bool HTMLLinkElement::disabled() const
112{
113 if(!impl) return 0;
114 return !((ElementImpl *)impl)->getAttribute(ATTR_DISABLED).isNull();
115}
116
117void HTMLLinkElement::setDisabled( bool _disabled )
118{
119 if(impl)
120 ((ElementImpl *)impl)->setAttribute(ATTR_DISABLED, _disabled ? "" : 0);
121}
122
123DOMString HTMLLinkElement::charset() const
124{
125 if(!impl) return DOMString();
126 return ((ElementImpl *)impl)->getAttribute(ATTR_CHARSET);
127}
128
129void HTMLLinkElement::setCharset( const DOMString &value )
130{
131 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_CHARSET, value);
132}
133
134DOMString HTMLLinkElement::href() const
135{
136 if(!impl) return DOMString();
137 const DOMString href = static_cast<ElementImpl*>(impl)->getAttribute(ATTR_HREF).parsedUrl();
138 return !href.isNull() ? impl->document()->completeURL(href.string()) : href;
139}
140
141void HTMLLinkElement::setHref( const DOMString &value )
142{
143 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HREF, value);
144}
145
146DOMString HTMLLinkElement::hreflang() const
147{
148 if(!impl) return DOMString();
149 return ((ElementImpl *)impl)->getAttribute(ATTR_HREFLANG);
150}
151
152void HTMLLinkElement::setHreflang( const DOMString &value )
153{
154 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HREFLANG, value);
155}
156
157DOMString HTMLLinkElement::media() const
158{
159 if(!impl) return DOMString();
160 return ((ElementImpl *)impl)->getAttribute(ATTR_MEDIA);
161}
162
163void HTMLLinkElement::setMedia( const DOMString &value )
164{
165 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MEDIA, value);
166}
167
168DOMString HTMLLinkElement::rel() const
169{
170 if(!impl) return DOMString();
171 return ((ElementImpl *)impl)->getAttribute(ATTR_REL);
172}
173
174void HTMLLinkElement::setRel( const DOMString &value )
175{
176 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_REL, value);
177}
178
179DOMString HTMLLinkElement::rev() const
180{
181 if(!impl) return DOMString();
182 return ((ElementImpl *)impl)->getAttribute(ATTR_REV);
183}
184
185void HTMLLinkElement::setRev( const DOMString &value )
186{
187 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_REV, value);
188}
189
190DOMString HTMLLinkElement::target() const
191{
192 if(!impl) return DOMString();
193 return ((ElementImpl *)impl)->getAttribute(ATTR_TARGET);
194}
195
196void HTMLLinkElement::setTarget( const DOMString &value )
197{
198 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TARGET, value);
199}
200
201DOMString HTMLLinkElement::type() const
202{
203 if(!impl) return DOMString();
204 return ((ElementImpl *)impl)->getAttribute(ATTR_TYPE);
205}
206
207void HTMLLinkElement::setType( const DOMString &value )
208{
209 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TYPE, value);
210}
211
212StyleSheet HTMLLinkElement::sheet() const
213{
214 if(!impl) return 0;
215 return ((HTMLLinkElementImpl *)impl)->sheet();
216}
217
218// --------------------------------------------------------------------------
219
220HTMLMetaElement::HTMLMetaElement() : HTMLElement()
221{
222}
223
224HTMLMetaElement::HTMLMetaElement(const HTMLMetaElement &other) : HTMLElement(other)
225{
226}
227
228HTMLMetaElement::HTMLMetaElement(HTMLMetaElementImpl *impl) : HTMLElement(impl)
229{
230}
231
232HTMLMetaElement &HTMLMetaElement::operator = (const Node &other)
233{
234 assignOther( other, ID_META );
235 return *this;
236}
237
238HTMLMetaElement &HTMLMetaElement::operator = (const HTMLMetaElement &other)
239{
240 HTMLElement::operator = (other);
241 return *this;
242}
243
244HTMLMetaElement::~HTMLMetaElement()
245{
246}
247
248DOMString HTMLMetaElement::content() const
249{
250 if(!impl) return DOMString();
251 return ((ElementImpl *)impl)->getAttribute(ATTR_CONTENT);
252}
253
254void HTMLMetaElement::setContent( const DOMString &value )
255{
256 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_CONTENT, value);
257}
258
259DOMString HTMLMetaElement::httpEquiv() const
260{
261 if(!impl) return DOMString();
262 return ((ElementImpl *)impl)->getAttribute(ATTR_HTTP_EQUIV);
263}
264
265void HTMLMetaElement::setHttpEquiv( const DOMString &value )
266{
267 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_HTTP_EQUIV, value);
268}
269
270DOMString HTMLMetaElement::name() const
271{
272 if(!impl) return DOMString();
273 return ((ElementImpl *)impl)->getAttribute(ATTR_NAME);
274}
275
276void HTMLMetaElement::setName( const DOMString &value )
277{
278 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_NAME, value);
279}
280
281DOMString HTMLMetaElement::scheme() const
282{
283 if(!impl) return DOMString();
284 return ((ElementImpl *)impl)->getAttribute(ATTR_SCHEME);
285}
286
287void HTMLMetaElement::setScheme( const DOMString &value )
288{
289 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SCHEME, value);
290}
291
292// --------------------------------------------------------------------------
293
294HTMLScriptElement::HTMLScriptElement() : HTMLElement()
295{
296}
297
298HTMLScriptElement::HTMLScriptElement(const HTMLScriptElement &other) : HTMLElement(other)
299{
300}
301
302HTMLScriptElement::HTMLScriptElement(HTMLScriptElementImpl *impl) : HTMLElement(impl)
303{
304}
305
306HTMLScriptElement &HTMLScriptElement::operator = (const Node &other)
307{
308 assignOther( other, ID_SCRIPT );
309 return *this;
310}
311
312HTMLScriptElement &HTMLScriptElement::operator = (const HTMLScriptElement &other)
313{
314 HTMLElement::operator = (other);
315 return *this;
316}
317
318HTMLScriptElement::~HTMLScriptElement()
319{
320}
321
322DOMString HTMLScriptElement::text() const
323{
324 if(!impl) return DOMString();
325 return ((HTMLScriptElementImpl *)impl)->text();
326}
327
328void HTMLScriptElement::setText( const DOMString &value )
329{
330 if(impl) ((HTMLScriptElementImpl *)impl)->setText(value);
331}
332
333DOMString HTMLScriptElement::htmlFor() const
334{
335 // DOM Level 1 says: reserved for future use...
336 return DOMString();
337}
338
339void HTMLScriptElement::setHtmlFor( const DOMString &/*value*/ )
340{
341 // DOM Level 1 says: reserved for future use...
342}
343
344DOMString HTMLScriptElement::event() const
345{
346 // DOM Level 1 says: reserved for future use...
347 return DOMString();
348}
349
350void HTMLScriptElement::setEvent( const DOMString &/*value*/ )
351{
352 // DOM Level 1 says: reserved for future use...
353}
354
355DOMString HTMLScriptElement::charset() const
356{
357 if(!impl) return DOMString();
358 return ((ElementImpl *)impl)->getAttribute(ATTR_CHARSET);
359}
360
361void HTMLScriptElement::setCharset( const DOMString &value )
362{
363 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_CHARSET, value);
364}
365
366bool HTMLScriptElement::defer() const
367{
368 if(!impl) return 0;
369 return !((ElementImpl *)impl)->getAttribute(ATTR_DEFER).isNull();
370}
371
372void HTMLScriptElement::setDefer( bool _defer )
373{
374
375 if(impl)
376 ((ElementImpl *)impl)->setAttribute(ATTR_DEFER,_defer ? "" : 0);
377}
378
379DOMString HTMLScriptElement::src() const
380{
381 if(!impl) return DOMString();
382 const DOMString s = ((ElementImpl *)impl)->getAttribute(ATTR_SRC).parsedUrl();
383 return !s.isNull() ? impl->document()->completeURL(s.string()) : s;
384}
385
386void HTMLScriptElement::setSrc( const DOMString &value )
387{
388 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_SRC, value);
389}
390
391DOMString HTMLScriptElement::type() const
392{
393 if(!impl) return DOMString();
394 return ((ElementImpl *)impl)->getAttribute(ATTR_TYPE);
395}
396
397void HTMLScriptElement::setType( const DOMString &value )
398{
399 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TYPE, value);
400}
401
402// --------------------------------------------------------------------------
403
404HTMLStyleElement::HTMLStyleElement() : HTMLElement()
405{
406}
407
408HTMLStyleElement::HTMLStyleElement(const HTMLStyleElement &other) : HTMLElement(other)
409{
410}
411
412HTMLStyleElement::HTMLStyleElement(HTMLStyleElementImpl *impl) : HTMLElement(impl)
413{
414}
415
416HTMLStyleElement &HTMLStyleElement::operator = (const Node &other)
417{
418 assignOther( other, ID_STYLE );
419 return *this;
420}
421
422HTMLStyleElement &HTMLStyleElement::operator = (const HTMLStyleElement &other)
423{
424 HTMLElement::operator = (other);
425 return *this;
426}
427
428HTMLStyleElement::~HTMLStyleElement()
429{
430}
431
432bool HTMLStyleElement::disabled() const
433{
434 if(!impl) return 0;
435 return !((HTMLStyleElementImpl *)impl)->getAttribute(ATTR_DISABLED).isNull();
436}
437
438void HTMLStyleElement::setDisabled( bool _disabled )
439{
440
441 if(impl)
442 ((ElementImpl *)impl)->setAttribute(ATTR_DISABLED,_disabled ? "" : 0);
443}
444
445DOMString HTMLStyleElement::media() const
446{
447 if(!impl) return DOMString();
448 return ((ElementImpl *)impl)->getAttribute(ATTR_MEDIA);
449}
450
451void HTMLStyleElement::setMedia( const DOMString &value )
452{
453 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_MEDIA, value);
454}
455
456DOMString HTMLStyleElement::type() const
457{
458 if(!impl) return DOMString();
459 return ((ElementImpl *)impl)->getAttribute(ATTR_TYPE);
460}
461
462void HTMLStyleElement::setType( const DOMString &value )
463{
464 if(impl) ((ElementImpl *)impl)->setAttribute(ATTR_TYPE, value);
465}
466
467StyleSheet HTMLStyleElement::sheet() const
468{
469 if(!impl) return 0;
470 return ((HTMLStyleElementImpl *)impl)->sheet();
471}
472
473
474// --------------------------------------------------------------------------
475
476HTMLTitleElement::HTMLTitleElement() : HTMLElement()
477{
478}
479
480HTMLTitleElement::HTMLTitleElement(const HTMLTitleElement &other) : HTMLElement(other)
481{
482}
483
484HTMLTitleElement::HTMLTitleElement(HTMLTitleElementImpl *impl) : HTMLElement(impl)
485{
486}
487
488HTMLTitleElement &HTMLTitleElement::operator = (const Node &other)
489{
490 assignOther( other, ID_TITLE );
491 return *this;
492}
493
494HTMLTitleElement &HTMLTitleElement::operator = (const HTMLTitleElement &other)
495{
496 HTMLElement::operator = (other);
497 return *this;
498}
499
500HTMLTitleElement::~HTMLTitleElement()
501{
502}
503
504DOMString HTMLTitleElement::text() const
505{
506 if(!impl) return DOMString();
507 return ((HTMLTitleElementImpl *)impl)->text();
508}
509
510void HTMLTitleElement::setText( const DOMString &value )
511{
512 if(impl) ((HTMLTitleElementImpl *)impl)->setText(value);
513}
514
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::DOMString::parsedUrl
DOMString parsedUrl() const
Return a parsed url.
Definition: dom_string.cpp:300
DOM::DOMString::isNull
bool isNull() const
Definition: dom_string.h:121
DOM::DOMString::string
QString string() const
Definition: dom_string.cpp:236
DOM::Element::getAttribute
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition: dom_element.cpp:147
DOM::HTMLBaseElement
Document base URI.
Definition: html_head.h:47
DOM::HTMLBaseElement::~HTMLBaseElement
~HTMLBaseElement()
Definition: html_head.cpp:54
DOM::HTMLBaseElement::setHref
void setHref(const DOMString &)
see href
Definition: html_head.cpp:65
DOM::HTMLBaseElement::href
DOMString href() const
The base URI See the href attribute definition in HTML 4.0.
Definition: html_head.cpp:58
DOM::HTMLBaseElement::target
DOMString target() const
The default target frame.
Definition: html_head.cpp:70
DOM::HTMLBaseElement::operator=
HTMLBaseElement & operator=(const HTMLBaseElement &other)
Definition: html_head.cpp:48
DOM::HTMLBaseElement::setTarget
void setTarget(const DOMString &)
see target
Definition: html_head.cpp:76
DOM::HTMLBaseElement::HTMLBaseElement
HTMLBaseElement()
Definition: html_head.cpp:30
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLElement::assignOther
void assignOther(const Node &other, int elementId)
Definition: html_element.cpp:176
DOM::HTMLElement::operator=
HTMLElement & operator=(const HTMLElement &other)
Definition: html_element.cpp:41
DOM::HTMLLinkElement
The LINK element specifies a link to an external resource, and defines this document's relationship t...
Definition: html_head.h:102
DOM::HTMLLinkElement::setHref
void setHref(const DOMString &)
see href
Definition: html_head.cpp:141
DOM::HTMLLinkElement::sheet
StyleSheet sheet() const
Introduced in DOM Level 2 This method is from the LinkStyle interface.
Definition: html_head.cpp:212
DOM::HTMLLinkElement::HTMLLinkElement
HTMLLinkElement()
Definition: html_head.cpp:83
DOM::HTMLLinkElement::~HTMLLinkElement
~HTMLLinkElement()
Definition: html_head.cpp:107
DOM::HTMLLinkElement::disabled
bool disabled() const
Enables/disables the link.
Definition: html_head.cpp:111
DOM::HTMLLinkElement::charset
DOMString charset() const
The character encoding of the resource being linked to.
Definition: html_head.cpp:123
DOM::HTMLLinkElement::setTarget
void setTarget(const DOMString &)
see target
Definition: html_head.cpp:196
DOM::HTMLLinkElement::operator=
HTMLLinkElement & operator=(const HTMLLinkElement &other)
Definition: html_head.cpp:101
DOM::HTMLLinkElement::setType
void setType(const DOMString &)
see type
Definition: html_head.cpp:207
DOM::HTMLLinkElement::setRel
void setRel(const DOMString &)
see rel
Definition: html_head.cpp:174
DOM::HTMLLinkElement::type
DOMString type() const
Advisory content type.
Definition: html_head.cpp:201
DOM::HTMLLinkElement::hreflang
DOMString hreflang() const
Language code of the linked resource.
Definition: html_head.cpp:146
DOM::HTMLLinkElement::media
DOMString media() const
Designed for use with one or more target media.
Definition: html_head.cpp:157
DOM::HTMLLinkElement::target
DOMString target() const
Frame to render the resource in.
Definition: html_head.cpp:190
DOM::HTMLLinkElement::setHreflang
void setHreflang(const DOMString &)
see hreflang
Definition: html_head.cpp:152
DOM::HTMLLinkElement::setCharset
void setCharset(const DOMString &)
see charset
Definition: html_head.cpp:129
DOM::HTMLLinkElement::setMedia
void setMedia(const DOMString &)
see media
Definition: html_head.cpp:163
DOM::HTMLLinkElement::rev
DOMString rev() const
Reverse link type.
Definition: html_head.cpp:179
DOM::HTMLLinkElement::setRev
void setRev(const DOMString &)
see rev
Definition: html_head.cpp:185
DOM::HTMLLinkElement::rel
DOMString rel() const
Forward link type.
Definition: html_head.cpp:168
DOM::HTMLLinkElement::setDisabled
void setDisabled(bool)
see disabled
Definition: html_head.cpp:117
DOM::HTMLLinkElement::href
DOMString href() const
The URI of the linked resource.
Definition: html_head.cpp:134
DOM::HTMLMetaElement
This contains generic meta-information about the document.
Definition: html_head.h:257
DOM::HTMLMetaElement::setScheme
void setScheme(const DOMString &)
see scheme
Definition: html_head.cpp:287
DOM::HTMLMetaElement::name
DOMString name() const
Meta information name.
Definition: html_head.cpp:270
DOM::HTMLMetaElement::httpEquiv
DOMString httpEquiv() const
HTTP response header name.
Definition: html_head.cpp:259
DOM::HTMLMetaElement::HTMLMetaElement
HTMLMetaElement()
Definition: html_head.cpp:220
DOM::HTMLMetaElement::setName
void setName(const DOMString &)
see name
Definition: html_head.cpp:276
DOM::HTMLMetaElement::operator=
HTMLMetaElement & operator=(const HTMLMetaElement &other)
Definition: html_head.cpp:238
DOM::HTMLMetaElement::setHttpEquiv
void setHttpEquiv(const DOMString &)
see httpEquiv
Definition: html_head.cpp:265
DOM::HTMLMetaElement::setContent
void setContent(const DOMString &)
see content
Definition: html_head.cpp:254
DOM::HTMLMetaElement::~HTMLMetaElement
~HTMLMetaElement()
Definition: html_head.cpp:244
DOM::HTMLMetaElement::scheme
DOMString scheme() const
Select form of content.
Definition: html_head.cpp:281
DOM::HTMLMetaElement::content
DOMString content() const
Associated information.
Definition: html_head.cpp:248
DOM::HTMLScriptElement
Script statements.
Definition: html_head.h:336
DOM::HTMLScriptElement::operator=
HTMLScriptElement & operator=(const HTMLScriptElement &other)
Definition: html_head.cpp:312
DOM::HTMLScriptElement::htmlFor
DOMString htmlFor() const
Reserved for future use.
Definition: html_head.cpp:333
DOM::HTMLScriptElement::setDefer
void setDefer(bool)
see defer
Definition: html_head.cpp:372
DOM::HTMLScriptElement::text
DOMString text() const
The script content of the element.
Definition: html_head.cpp:322
DOM::HTMLScriptElement::event
DOMString event() const
Reserved for future use.
Definition: html_head.cpp:344
DOM::HTMLScriptElement::setSrc
void setSrc(const DOMString &)
see src
Definition: html_head.cpp:386
DOM::HTMLScriptElement::defer
bool defer() const
Indicates that the user agent can defer processing of the script.
Definition: html_head.cpp:366
DOM::HTMLScriptElement::setType
void setType(const DOMString &)
see type
Definition: html_head.cpp:397
DOM::HTMLScriptElement::src
DOMString src() const
URI designating an external script.
Definition: html_head.cpp:379
DOM::HTMLScriptElement::type
DOMString type() const
The content type of the script language.
Definition: html_head.cpp:391
DOM::HTMLScriptElement::setText
void setText(const DOMString &)
see text
Definition: html_head.cpp:328
DOM::HTMLScriptElement::setEvent
void setEvent(const DOMString &)
see event
Definition: html_head.cpp:350
DOM::HTMLScriptElement::~HTMLScriptElement
~HTMLScriptElement()
Definition: html_head.cpp:318
DOM::HTMLScriptElement::HTMLScriptElement
HTMLScriptElement()
Definition: html_head.cpp:294
DOM::HTMLScriptElement::setCharset
void setCharset(const DOMString &)
see charset
Definition: html_head.cpp:361
DOM::HTMLScriptElement::charset
DOMString charset() const
The character encoding of the linked resource.
Definition: html_head.cpp:355
DOM::HTMLScriptElement::setHtmlFor
void setHtmlFor(const DOMString &)
see htmlFor
Definition: html_head.cpp:339
DOM::HTMLStyleElement
Style information.
Definition: html_head.h:450
DOM::HTMLStyleElement::~HTMLStyleElement
~HTMLStyleElement()
Definition: html_head.cpp:428
DOM::HTMLStyleElement::setType
void setType(const DOMString &)
see type
Definition: html_head.cpp:462
DOM::HTMLStyleElement::HTMLStyleElement
HTMLStyleElement()
Definition: html_head.cpp:404
DOM::HTMLStyleElement::sheet
StyleSheet sheet() const
Introduced in DOM Level 2 This method is from the LinkStyle interface.
Definition: html_head.cpp:467
DOM::HTMLStyleElement::setMedia
void setMedia(const DOMString &)
see media
Definition: html_head.cpp:451
DOM::HTMLStyleElement::disabled
bool disabled() const
Enables/disables the style sheet.
Definition: html_head.cpp:432
DOM::HTMLStyleElement::media
DOMString media() const
Designed for use with one or more target media.
Definition: html_head.cpp:445
DOM::HTMLStyleElement::setDisabled
void setDisabled(bool)
see disabled
Definition: html_head.cpp:438
DOM::HTMLStyleElement::type
DOMString type() const
The style sheet language (Internet media type).
Definition: html_head.cpp:456
DOM::HTMLStyleElement::operator=
HTMLStyleElement & operator=(const HTMLStyleElement &other)
Definition: html_head.cpp:422
DOM::HTMLTitleElement
The document title.
Definition: html_head.h:523
DOM::HTMLTitleElement::HTMLTitleElement
HTMLTitleElement()
Definition: html_head.cpp:476
DOM::HTMLTitleElement::setText
void setText(const DOMString &)
see text
Definition: html_head.cpp:510
DOM::HTMLTitleElement::operator=
HTMLTitleElement & operator=(const HTMLTitleElement &other)
Definition: html_head.cpp:494
DOM::HTMLTitleElement::~HTMLTitleElement
~HTMLTitleElement()
Definition: html_head.cpp:500
DOM::HTMLTitleElement::text
DOMString text() const
The specified title as a string.
Definition: html_head.cpp:504
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
DOM::Node::impl
NodeImpl * impl
Definition: dom_node.h:948
DOM::StyleSheet
The StyleSheet interface is the abstract base interface for any type of style sheet.
Definition: css_stylesheet.h:59
html_head.h
DOM
This library provides a full-featured HTML parser and widget.
Definition: design.h:55
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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.14.38 API Reference

Skip menu "kdelibs-4.14.38 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