OSDN Git Service

Automatically align underspecified tasks boundaries on project boundaries when possible.
[tjqt4port/tj2qt4.git] / taskjuggler / HTMLStatusReport.h
1 /*
2  * HTMLStatusReport.h - TaskJuggler
3  *
4  * Copyright (c) 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of version 2 of the GNU General Public License as
8  * published by the Free Software Foundation.
9  *
10  * $Id$
11  */
12
13 #ifndef _HTMLStatusReport_h_
14 #define _HTMLStatusReport_h_
15
16 #include "HTMLReport.h"
17
18 #include "tjlib-internal.h"
19
20 #include <qptrvector.h>
21
22 class Project;
23 class TaskList;
24 class HTMLReportElement;
25
26 /**
27  * @short A class that generates HTML status reports.
28  * @author Chris Schlaeger <cs@kde.org>
29  */
30 class HTMLStatusReport : public HTMLReport
31 {
32 public:
33     HTMLStatusReport(Project* p, const QString& f, const QString& df, int dl);
34     virtual ~HTMLStatusReport();
35
36     virtual const char* getType() const { return "HTMLStatusReport"; }
37     virtual QString getTitle() const { return i18n("Status Report"); }
38
39     void setTable(int tabIdx, HTMLReportElement* tab);
40     HTMLReportElement* getTable(int tabIdx) const;
41
42     bool generate();
43
44 private:
45     QPtrVector< HTMLReportElement > tables;
46 } ;
47
48 #endif
49