OSDN Git Service

Merge branch 'post-2.4.2'
[tjqt4port/tj2qt4.git] / taskjuggler / HTMLReport.h
index a5b002a..4d09482 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * HTMLReport.h - TaskJuggler
  *
- * Copyright (c) 2001, 2002, 2003, 2004 by Chris Schlaeger <cs@suse.de>
+ * Copyright (c) 2001, 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of version 2 of the GNU General Public License as
 #ifndef _HTMLReport_h_
 #define _HTMLReport_h_
 
-#include <stdio.h>
-#include <time.h>
-
-#include <qstring.h>
-
 #include "Report.h"
 #include "HTMLPrimitives.h"
 
@@ -26,7 +21,7 @@ class ExpressionTree;
 
 /**
  * @short Stores all information about an HTML report.
- * @author Chris Schlaeger <cs@suse.de>
+ * @author Chris Schlaeger <cs@kde.org>
  */
 class HTMLReport : public Report, public HTMLPrimitives
 {
@@ -34,6 +29,9 @@ public:
     HTMLReport(Project* p, const QString& f, const QString& df, int dl);
     virtual ~HTMLReport() { }
 
+    virtual const char* getType() const { return "HTMLReport"; }
+    virtual QString getTitle() const = 0;
+
     void generateHeader();
     void generateFooter();
 
@@ -54,8 +52,6 @@ public:
     }
 
 protected:
-    HTMLReport() { }
-
     QString rawStyleSheet;
     QString rawHead;
     QString rawTail;