KD Reports

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

KDReportsHtmlElement.h

00001 #ifndef KDREPORTSHTMLELEMENT_H
00002 #define KDREPORTSHTMLELEMENT_H
00003 
00004 #include "KDReportsElement.h"
00005 #include <QtCore/QString>
00006 
00007 namespace KDReports {
00008 
00014 class KDREPORTS_EXPORT HtmlElement : public Element
00015 {
00016 public:
00020     explicit HtmlElement( const QString& html = QString() );
00024     virtual ~HtmlElement();
00025 
00030     HtmlElement(const HtmlElement &other);
00034     HtmlElement &operator=(const HtmlElement &other);
00035 
00039     void setHtml( const QString& html );
00040 
00044     HtmlElement& operator<<( const QString& );
00045 
00050     void setId( const QString& id );
00051 
00056     QString id() const;
00057 
00062     void build( ReportBuilder& builder ) const;
00067     Element* clone() const;
00068 
00069 private:
00070     class Private;
00071     Private* const d;
00072 };
00073 
00074 }
00075 
00076 #endif /* KDREPORTSHTMLELEMENT_H */
00077 

Copyright © 2008, Klarälvdalens Datakonsult AB KD Reports