KD Reports

           | Home |            | Namespaces |            | Classes |            | Files |            | Directories |

KDReportsElement.h

00001 #ifndef KDREPORTSELEMENT_H
00002 #define KDREPORTSELEMENT_H
00003 
00004 #include "KDReportsGlobal.h"
00005 
00006 class QBrush;
00007 namespace KDReports {
00008 class ReportBuilder;
00009 
00019 class KDREPORTS_EXPORT Element
00020 {
00021 public:
00025     virtual ~Element();
00026 
00030     void setBackground( const QBrush& brush );
00034     QBrush background() const;
00035 
00039     virtual void build( ReportBuilder& ) const = 0;
00040 
00044     virtual Element* clone() const = 0;
00045 
00046 protected:
00050     Element();
00054     Element(const Element &other);
00058     Element &operator=(const Element &other);
00059 
00060 private:
00061     class Private;
00062     Private* const d;
00063 };
00064 
00065 }
00066 
00067 #endif /* KDREPORTSELEMENT_H */
00068 

Copyright © 2008, Klarälvdalens Datakonsult AB KD Reports