OSDN Git Service

fix compile problem
[tjqt4port/tj2qt4.git] / taskjuggler / QtTaskReport.h
1 /*
2  * QtTaskReport.h - TaskJuggler
3  *
4  * Copyright (c) 2001, 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 _QtTaskReport_h_
14 #define _QtTaskReport_h_
15
16 #include "QtReport.h"
17 #include "QtTaskReportElement.h"
18
19 /**
20  * @short Stores all information about an Qt task report.
21  * @author Chris Schlaeger <cs@kde.org>
22  */
23 class QtTaskReport : public QtReport
24 {
25 public:
26     QtTaskReport(Project* p, const QString& f, const QString& df, int dl) :
27         QtReport(p, f, df, dl)
28     { 
29         setTable(new QtTaskReportElement(this, df, dl));
30         taskSortCriteria[0] = CoreAttributesList::TreeMode;
31         taskSortCriteria[1] = CoreAttributesList::StartUp;
32         taskSortCriteria[2] = CoreAttributesList::EndUp;
33         resourceSortCriteria[0] = CoreAttributesList::TreeMode;
34     }
35
36     virtual ~QtTaskReport()
37     { }
38
39     virtual const char* getType() const { return "QtTaskReport"; }
40 } ;
41
42 #endif