00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef HK_KDEREPORTDATA_H
00013 #define HK_KDEREPORTDATA_H
00014 #include <hk_reportdata.h>
00015 #include <qwidget.h>
00016 class hk_kdereportsection;
00017 class hk_kdesimplereport;
00018 class hk_kdereportdata:public QWidget, public hk_reportdata
00019 {
00020
00021 Q_OBJECT
00022
00023 public:
00024 hk_kdereportdata( hk_kdereportsection* s, const char* name = 0, WFlags fl = 0 );
00025 virtual ~hk_kdereportdata();
00026
00027 hk_kdereportsection* section(void);
00028
00029 protected:
00030 void paintEvent(QPaintEvent* e);
00031 virtual void resizeEvent (QResizeEvent *);
00032 virtual void moveEvent ( QMoveEvent * ) ;
00033 virtual bool widget_specific_coordinates(uint px,uint py,uint pwidth,uint pheight);
00034 virtual void widget_specific_backgroundcolour_changed(const hk_colour&);
00035 virtual void widget_specific_foregroundcolour_changed(const hk_colour&);
00036
00037 private:
00038 void reposition(void);
00039 hk_kdereportsection* p_kdesection;
00040 };
00041 #endif