render_html.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef RENDER_HTML
00024 #define RENDER_HTML
00025
00026 #include "render_flow.h"
00027
00028 namespace DOM {
00029
00030 class HTMLElementImpl;
00031 }
00032
00033 class QScrollView;
00034
00035 namespace khtml {
00036
00037 class RenderHtml : public RenderFlow
00038 {
00039 public:
00040 RenderHtml(DOM::HTMLElementImpl* node);
00041 virtual ~RenderHtml();
00042
00043 virtual const char *renderName() const { return "RenderHtml"; }
00044
00045 virtual bool isHtml() const { return true; }
00046 virtual void setStyle(RenderStyle *style);
00047 virtual void paint( QPainter *, int x, int y, int w, int h, int tx, int ty);
00048 virtual void repaint();
00049 virtual void layout();
00050 virtual short containingBlockWidth() const;
00051 protected:
00052 virtual void paintBoxDecorations(QPainter *p,int _x, int _y,
00053 int _w, int _h, int _tx, int _ty);
00054 private:
00055 QScrollView* m_view;
00056 };
00057
00058 }
00059
00060 #endif
This file is part of the documentation for kdelibs Version 3.1.4.