dom2_views.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _DOM_Views_h_
00024 #define _DOM_Views_h_
00025
00026 #include <kdelibs_export.h>
00027 namespace DOM {
00028
00029 class Document;
00030 class AbstractViewImpl;
00031 class CSSStyleDeclaration;
00032 class Element;
00033 class DOMString;
00034
00041 class KHTML_EXPORT AbstractView {
00042 friend class Event;
00043 friend class UIEvent;
00044 friend class MouseEvent;
00045 friend class MutationEvent;
00046 friend class Document;
00047 public:
00048 AbstractView();
00049 AbstractView(const AbstractView &other);
00050 virtual ~AbstractView();
00051
00052 AbstractView & operator = (const AbstractView &other);
00053
00057 Document document() const;
00058
00074 CSSStyleDeclaration getComputedStyle(const Element &elt, const DOMString &pseudoElt);
00075
00080 AbstractViewImpl *handle() const;
00081 bool isNull() const;
00082
00083 protected:
00084 AbstractView(AbstractViewImpl *i);
00085 AbstractViewImpl *impl;
00086 };
00087
00088
00089 }
00090 #endif
|