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

KHTML

  • 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
35namespace DOM {
36class HTMLGenericElementImpl;
37class HTMLAnchorElementImpl;
38class DOMString;
39
46class KHTML_EXPORT HTMLAnchorElement : public HTMLElement
47{
48public:
49 HTMLAnchorElement();
50 HTMLAnchorElement(const HTMLAnchorElement &other);
51 HTMLAnchorElement(const Node &other) : HTMLElement()
52 {(*this)=other;}
53protected:
54 HTMLAnchorElement(HTMLAnchorElementImpl *impl);
55public:
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
242class HTMLBRElementImpl;
243
250class KHTML_EXPORT HTMLBRElement : public HTMLElement
251{
252public:
253 HTMLBRElement();
254 HTMLBRElement(const HTMLBRElement &other);
255 HTMLBRElement(const Node &other) : HTMLElement()
256 {(*this)=other;}
257protected:
258 HTMLBRElement(HTMLBRElementImpl *impl);
259public:
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
283class HTMLFontElementImpl;
284class DOMString;
285
293class KHTML_EXPORT HTMLFontElement : public HTMLElement
294{
295public:
296 HTMLFontElement();
297 HTMLFontElement(const HTMLFontElement &other);
298 HTMLFontElement(const Node &other) : HTMLElement()
299 {(*this)=other;}
300protected:
301 HTMLFontElement(HTMLFontElementImpl *impl);
302public:
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
352class DOMString;
353
362class KHTML_EXPORT HTMLModElement : public HTMLElement
363{
364public:
365 HTMLModElement();
366 HTMLModElement(const HTMLModElement &other);
367 HTMLModElement(const Node &other) : HTMLElement()
368 {(*this)=other;}
369protected:
370 HTMLModElement(HTMLElementImpl *impl);
371public:
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
419class KHTML_EXPORT HTMLQuoteElement : public HTMLElement
420{
421public:
422 HTMLQuoteElement();
423 HTMLQuoteElement(const HTMLQuoteElement &other);
424 HTMLQuoteElement(const Node &other) : HTMLElement()
425 {(*this)=other;}
426protected:
427 HTMLQuoteElement(HTMLGenericElementImpl *impl);
428public:
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::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
DOM::HTMLAnchorElement
The anchor element.
Definition: html_inline.h:47
DOM::HTMLAnchorElement::HTMLAnchorElement
HTMLAnchorElement(const Node &other)
Definition: html_inline.h:51
DOM::HTMLBRElement
Force a line break.
Definition: html_inline.h:251
DOM::HTMLBRElement::HTMLBRElement
HTMLBRElement(const Node &other)
Definition: html_inline.h:255
DOM::HTMLElement
All HTML element interfaces derive from this class.
Definition: html_element.h:70
DOM::HTMLFontElement
Local change to font.
Definition: html_inline.h:294
DOM::HTMLFontElement::HTMLFontElement
HTMLFontElement(const Node &other)
Definition: html_inline.h:298
DOM::HTMLModElement
Notice of modification to part of a document.
Definition: html_inline.h:363
DOM::HTMLModElement::HTMLModElement
HTMLModElement(const Node &other)
Definition: html_inline.h:367
DOM::HTMLQuoteElement
For the Q and BLOCKQUOTE elements.
Definition: html_inline.h:420
DOM::HTMLQuoteElement::HTMLQuoteElement
HTMLQuoteElement(const Node &other)
Definition: html_inline.h:424
DOM::Node
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:271
html_element.h
khtml_export.h
DOM
This library provides a full-featured HTML parser and widget.
Definition: design.h:55
name
const char * name(StandardAction id)
clear
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
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