| # khtml Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# html_inlineimpl.h

    00001 /*
    00002  * This file is part of the DOM implementation for KDE.
    00003  *
    00004  * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
    00005  *           (C) 1999 Antti Koivisto (koivisto@kde.org)
    00006  *           (C) 2000 Simon Hausmann <hausmann@kde.org>
    00007  *
    00008  * This library is free software; you can redistribute it and/or
    00009  * modify it under the terms of the GNU Library General Public
    00010  * License as published by the Free Software Foundation; either
    00011  * version 2 of the License, or (at your option) any later version.
    00012  *
    00013  * This library is distributed in the hope that it will be useful,
    00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00016  * Library General Public License for more details.
    00017  *
    00018  * You should have received a copy of the GNU Library General Public License
    00019  * along with this library; see the file COPYING.LIB.  If not, write to
    00020  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00021  * Boston, MA 02111-1307, USA.
    00022  *
    00023  * $Id: html_inlineimpl.h,v 1.41.4.2 2003/05/18 12:34:39 mueller Exp $
    00024  */
    00025 #ifndef HTML_INLINEIMPL_H
    00026 #define HTML_INLINEIMPL_H
    00027
    00028 #include "html_elementimpl.h"
    00029
    00030 namespace DOM {
    00031
    00032 class DOMString;
    00033
    00034 class HTMLAnchorElementImpl : public HTMLElementImpl
    00035 {
    00036 public:
    00037     HTMLAnchorElementImpl(DocumentPtr *doc)
    00038         : HTMLElementImpl(doc), m_hasTarget(false) {}
    00039
    00040     virtual bool isSelectable() const { return m_hasAnchor; }
    00041     virtual Id id() const;
    00042     virtual void parseAttribute(AttributeImpl *attr);
    00043     virtual void defaultEventHandler(EventImpl *evt);
    00044 protected:
    00045     bool m_hasTarget : 1;
    00046 };
    00047
    00048 // -------------------------------------------------------------------------
    00049
    00050 class HTMLBRElementImpl : public HTMLElementImpl
    00051 {
    00052 public:
    00053     HTMLBRElementImpl(DocumentPtr *doc)
    00054         : HTMLElementImpl(doc) {}
    00055
    00056     virtual Id id() const;
    00057     virtual void parseAttribute(AttributeImpl *attr);
    00058     virtual void attach();
    00059 };
    00060
    00061 // -------------------------------------------------------------------------
    00062
    00063 class HTMLFontElementImpl : public HTMLElementImpl
    00064 {
    00065 public:
    00066     HTMLFontElementImpl(DocumentPtr *doc)
    00067         : HTMLElementImpl(doc) {}
    00068
    00069     virtual Id id() const;
    00070     virtual void parseAttribute(AttributeImpl *attr);
    00071 };
    00072
    00073 } //namespace
    00074
    00075 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:33:55 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001