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

tdehtml

  • tdehtml
  • dom
html_head.h
1/*
2 * This file is part of the DOM implementation for KDE.
3 *
4 * (C) 1999 Lars Knoll (knoll@kde.org)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 * This file includes excerpts from the Document Object Model (DOM)
22 * Level 1 Specification (Recommendation)
23 * http://www.w3.org/TR/REC-DOM-Level-1/
24 * Copyright © World Wide Web Consortium , (Massachusetts Institute of
25 * Technology , Institut National de Recherche en Informatique et en
26 * Automatique , Keio University ). All Rights Reserved.
27 *
28 */
29#ifndef HTML_HEAD_H
30#define HTML_HEAD_H
31
32#include <dom/html_element.h>
33#include <dom/css_stylesheet.h>
34
35namespace DOM {
36
37class HTMLBaseElementImpl;
38class DOMString;
39
46class TDEHTML_EXPORT HTMLBaseElement : public HTMLElement
47{
48public:
49 HTMLBaseElement();
50 HTMLBaseElement(const HTMLBaseElement &other);
51 HTMLBaseElement(const Node &other) : HTMLElement()
52 {(*this)=other;}
53protected:
54 HTMLBaseElement(HTMLBaseElementImpl *impl);
55public:
56
57 HTMLBaseElement & operator = (const HTMLBaseElement &other);
58 HTMLBaseElement & operator = (const Node &other);
59
60 ~HTMLBaseElement();
61
68 DOMString href() const;
69
73 void setHref( const DOMString & );
74
81 DOMString target() const;
82
86 void setTarget( const DOMString & );
87};
88
89// --------------------------------------------------------------------------
90
91class HTMLLinkElementImpl;
92
101class TDEHTML_EXPORT HTMLLinkElement : public HTMLElement
102{
103public:
104 HTMLLinkElement();
105 HTMLLinkElement(const HTMLLinkElement &other);
106 HTMLLinkElement(const Node &other) : HTMLElement()
107 {(*this)=other;}
108protected:
109 HTMLLinkElement(HTMLLinkElementImpl *impl);
110public:
111
112 HTMLLinkElement & operator = (const HTMLLinkElement &other);
113 HTMLLinkElement & operator = (const Node &other);
114
115 ~HTMLLinkElement();
116
123 bool disabled() const;
124
128 void setDisabled( bool );
129
137 DOMString charset() const;
138
142 void setCharset( const DOMString & );
143
150 DOMString href() const;
151
155 void setHref( const DOMString & );
156
163 DOMString hreflang() const;
164
168 void setHreflang( const DOMString & );
169
176 DOMString media() const;
177
181 void setMedia( const DOMString & );
182
189 DOMString rel() const;
190
194 void setRel( const DOMString & );
195
202 DOMString rev() const;
203
207 void setRev( const DOMString & );
208
215 DOMString target() const;
216
220 void setTarget( const DOMString & );
221
228 DOMString type() const;
229
233 void setType( const DOMString & );
234
241 StyleSheet sheet() const;
242
243};
244
245// --------------------------------------------------------------------------
246
247class HTMLMetaElementImpl;
248
256class TDEHTML_EXPORT HTMLMetaElement : public HTMLElement
257{
258public:
259 HTMLMetaElement();
260 HTMLMetaElement(const HTMLMetaElement &other);
261 HTMLMetaElement(const Node &other) : HTMLElement()
262 {(*this)=other;}
263protected:
264 HTMLMetaElement(HTMLMetaElementImpl *impl);
265public:
266
267 HTMLMetaElement & operator = (const HTMLMetaElement &other);
268 HTMLMetaElement & operator = (const Node &other);
269
270 ~HTMLMetaElement();
271
278 DOMString content() const;
279
283 void setContent( const DOMString & );
284
291 DOMString httpEquiv() const;
292
296 void setHttpEquiv( const DOMString & );
297
304 DOMString name() const;
305
309 void setName( const DOMString & );
310
317 DOMString scheme() const;
318
322 void setScheme( const DOMString & );
323};
324
325// --------------------------------------------------------------------------
326
327class HTMLScriptElementImpl;
328
335class TDEHTML_EXPORT HTMLScriptElement : public HTMLElement
336{
337public:
338 HTMLScriptElement();
339 HTMLScriptElement(const HTMLScriptElement &other);
340 HTMLScriptElement(const Node &other) : HTMLElement()
341 {(*this)=other;}
342protected:
343 HTMLScriptElement(HTMLScriptElementImpl *impl);
344public:
345
346 HTMLScriptElement & operator = (const HTMLScriptElement &other);
347 HTMLScriptElement & operator = (const Node &other);
348
349 ~HTMLScriptElement();
350
355 DOMString text() const;
356
360 void setText( const DOMString & );
361
366 DOMString htmlFor() const;
367
371 void setHtmlFor( const DOMString & );
372
377 DOMString event() const;
378
382 void setEvent( const DOMString & );
383
390 DOMString charset() const;
391
395 void setCharset( const DOMString & );
396
404 bool defer() const;
405
409 void setDefer( bool );
410
417 DOMString src() const;
418
422 void setSrc( const DOMString & );
423
430 DOMString type() const;
431
435 void setType( const DOMString & );
436};
437
438// --------------------------------------------------------------------------
439
440class HTMLStyleElementImpl;
441
449class TDEHTML_EXPORT HTMLStyleElement : public HTMLElement
450{
451public:
452 HTMLStyleElement();
453 HTMLStyleElement(const HTMLStyleElement &other);
454 HTMLStyleElement(const Node &other) : HTMLElement()
455 {(*this)=other;}
456protected:
457 HTMLStyleElement(HTMLStyleElementImpl *impl);
458public:
459
460 HTMLStyleElement & operator = (const HTMLStyleElement &other);
461 HTMLStyleElement & operator = (const Node &other);
462
463 ~HTMLStyleElement();
464
469 bool disabled() const;
470
474 void setDisabled( bool );
475
482 DOMString media() const;
483
487 void setMedia( const DOMString & );
488
495 DOMString type() const;
496
500 void setType( const DOMString & );
501
508 StyleSheet sheet() const;
509
510};
511
512// --------------------------------------------------------------------------
513
514class HTMLTitleElementImpl;
515
522class TDEHTML_EXPORT HTMLTitleElement : public HTMLElement
523{
524public:
525 HTMLTitleElement();
526 HTMLTitleElement(const HTMLTitleElement &other);
527 HTMLTitleElement(const Node &other) : HTMLElement()
528 {(*this)=other;}
529protected:
530 HTMLTitleElement(HTMLTitleElementImpl *impl);
531public:
532
533 HTMLTitleElement & operator = (const HTMLTitleElement &other);
534 HTMLTitleElement & operator = (const Node &other);
535
536 ~HTMLTitleElement();
537
542 DOMString text() const;
543
547 void setText( const DOMString & );
548};
549
550} //namespace
551
552#endif
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::HTMLBaseElement
Document base URI.
Definition: html_head.h:47
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
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::HTMLMetaElement
This contains generic meta-information about the document.
Definition: html_head.h:257
DOM::HTMLScriptElement
Script statements.
Definition: html_head.h:336
DOM::HTMLStyleElement
Style information.
Definition: html_head.h:450
DOM::HTMLTitleElement
The document title.
Definition: html_head.h:523
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
DOM::StyleSheet
The StyleSheet interface is the abstract base interface for any type of style sheet.
Definition: css_stylesheet.h:59
DOM
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57

tdehtml

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

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.9.4
This website is maintained by Timothy Pearson.