html_inlineimpl.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
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 };
00074
00075 #endif
This file is part of the documentation for kdelibs Version 3.1.0.