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

KHTML

  • sources
  • kde-4.12
  • kdelibs
  • khtml
  • dom
html_inline.h
Go to the documentation of this file.
1 /*
2  * This file is part of the DOM implementation for KDE.
3  *
4  * Copyright 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_INLINE_H
30 #define HTML_INLINE_H
31 
32 #include <khtml_export.h>
33 #include <dom/html_element.h>
34 
35 namespace DOM {
36 class HTMLGenericElementImpl;
37 class HTMLAnchorElementImpl;
38 class DOMString;
39 
46 class KHTML_EXPORT HTMLAnchorElement : public HTMLElement
47 {
48 public:
49  HTMLAnchorElement();
50  HTMLAnchorElement(const HTMLAnchorElement &other);
51  HTMLAnchorElement(const Node &other) : HTMLElement()
52  {(*this)=other;}
53 protected:
54  HTMLAnchorElement(HTMLAnchorElementImpl *impl);
55 public:
56 
57  HTMLAnchorElement & operator = (const HTMLAnchorElement &other);
58  HTMLAnchorElement & operator = (const Node &other);
59 
60  ~HTMLAnchorElement();
61 
69  DOMString accessKey() const;
70 
74  void setAccessKey( const DOMString & );
75 
82  DOMString charset() const;
83 
87  void setCharset( const DOMString & );
88 
97  DOMString coords() const;
98 
102  void setCoords( const DOMString & );
103 
110  DOMString href() const;
111 
115  void setHref( const DOMString & );
116 
123  DOMString hreflang() const;
124 
128  void setHreflang( const DOMString & );
129 
136  DOMString name() const;
137 
141  void setName( const DOMString & );
142 
149  DOMString rel() const;
150 
154  void setRel( const DOMString & );
155 
162  DOMString rev() const;
163 
167  void setRev( const DOMString & );
168 
176  DOMString shape() const;
177 
181  void setShape( const DOMString & );
182 
190  long tabIndex() const;
191 
195  void setTabIndex( long );
196 
203  DOMString target() const;
204 
208  void setTarget( const DOMString & );
209 
216  DOMString type() const;
217 
221  void setType( const DOMString & );
222 
229  void blur ( );
230 
237  void focus ( );
238 };
239 
240 // --------------------------------------------------------------------------
241 
242 class HTMLBRElementImpl;
243 
250 class KHTML_EXPORT HTMLBRElement : public HTMLElement
251 {
252 public:
253  HTMLBRElement();
254  HTMLBRElement(const HTMLBRElement &other);
255  HTMLBRElement(const Node &other) : HTMLElement()
256  {(*this)=other;}
257 protected:
258  HTMLBRElement(HTMLBRElementImpl *impl);
259 public:
260 
261  HTMLBRElement & operator = (const HTMLBRElement &other);
262  HTMLBRElement & operator = (const Node &other);
263 
264  ~HTMLBRElement();
265 
273  DOMString clear() const;
274 
278  void setClear( const DOMString & );
279 };
280 
281 // --------------------------------------------------------------------------
282 
283 class HTMLFontElementImpl;
284 class DOMString;
285 
293 class KHTML_EXPORT HTMLFontElement : public HTMLElement
294 {
295 public:
296  HTMLFontElement();
297  HTMLFontElement(const HTMLFontElement &other);
298  HTMLFontElement(const Node &other) : HTMLElement()
299  {(*this)=other;}
300 protected:
301  HTMLFontElement(HTMLFontElementImpl *impl);
302 public:
303 
304  HTMLFontElement & operator = (const HTMLFontElement &other);
305  HTMLFontElement & operator = (const Node &other);
306 
307  ~HTMLFontElement();
308 
316  DOMString color() const;
317 
321  void setColor( const DOMString & );
322 
330  DOMString face() const;
331 
335  void setFace( const DOMString & );
336 
344  DOMString size() const;
345 
349  void setSize( const DOMString & );
350 };
351 
352 class DOMString;
353 
362 class KHTML_EXPORT HTMLModElement : public HTMLElement
363 {
364 public:
365  HTMLModElement();
366  HTMLModElement(const HTMLModElement &other);
367  HTMLModElement(const Node &other) : HTMLElement()
368  {(*this)=other;}
369 protected:
370  HTMLModElement(HTMLElementImpl *impl);
371 public:
372 
373  HTMLModElement & operator = (const HTMLModElement &other);
374  HTMLModElement & operator = (const Node &other);
375 
376  ~HTMLModElement();
377 
384  DOMString cite() const;
385 
389  void setCite( const DOMString & );
390 
397  DOMString dateTime() const;
398 
402  void setDateTime( const DOMString & );
403 };
404 
405 // --------------------------------------------------------------------------
406 
407 
419 class KHTML_EXPORT HTMLQuoteElement : public HTMLElement
420 {
421 public:
422  HTMLQuoteElement();
423  HTMLQuoteElement(const HTMLQuoteElement &other);
424  HTMLQuoteElement(const Node &other) : HTMLElement()
425  {(*this)=other;}
426 protected:
427  HTMLQuoteElement(HTMLGenericElementImpl *impl);
428 public:
429 
430  HTMLQuoteElement & operator = (const HTMLQuoteElement &other);
431  HTMLQuoteElement & operator = (const Node &other);
432 
433  ~HTMLQuoteElement();
434 
442  DOMString cite() const;
443 
447  void setCite( const DOMString & );
448 };
449 
450 } //namespace
451 
452 #endif
DOM::HTMLModElement
Notice of modification to part of a document.
Definition: html_inline.h:362
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
DOM::HTMLBRElement::HTMLBRElement
HTMLBRElement(const Node &other)
Definition: html_inline.h:255
DOM::HTMLQuoteElement::HTMLQuoteElement
HTMLQuoteElement(const Node &other)
Definition: html_inline.h:424
name
const char * name(StandardAction id)
html_element.h
DOM::HTMLQuoteElement
For the Q and BLOCKQUOTE elements.
Definition: html_inline.h:419
DOM::HTMLAnchorElement
The anchor element.
Definition: html_inline.h:46
DOM::HTMLModElement::HTMLModElement
HTMLModElement(const Node &other)
Definition: html_inline.h:367
clear
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
khtml_export.h
DOM::HTMLAnchorElement::HTMLAnchorElement
HTMLAnchorElement(const Node &other)
Definition: html_inline.h:51
DOM::HTMLFontElement
Local change to font.
Definition: html_inline.h:293
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:69
DOM::HTMLFontElement::HTMLFontElement
HTMLFontElement(const Node &other)
Definition: html_inline.h:298
DOM::HTMLBRElement
Force a line break.
Definition: html_inline.h:250
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:21 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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