OSDN Git Service

Automatically align underspecified tasks boundaries on project boundaries when possible.
[tjqt4port/tj2qt4.git] / taskjuggler / ICalReport.h
1 /*
2  * ICalReport.h - TaskJuggler
3  *
4  * Copyright (c) 2002, 2003, 2004, 2005 by Chris Schlaeger <cs@kde.org>
5  * Copyright (c) 2002, 2003, 2004, 2005 by Klaas Freitag <freitag@suse.de>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of version 2 of the GNU General Public License as
9  * published by the Free Software Foundation.
10  *
11  * $Id$
12  */
13 #ifndef _ICalReport_h_
14 #define _ICalReport_h_
15
16 #include <libkcal/calendarlocal.h>
17 #include <libkcal/todo.h>
18
19 #include <Report.h>
20
21 class Project;
22
23 class ICalReport : public Report
24 {
25 public:
26     ICalReport(Project* p, const QString& f, const QString& df, int dl);
27     virtual ~ICalReport() { }
28
29     virtual const char* getType() const { return "ICalReport"; }
30
31     bool generate();
32
33 private:
34    KCal::Todo* generateTODO(Task *task, ResourceList& resourceList);
35     KCal::Event* generateEvent(Task* task, ResourceList& resourceList);
36 };
37
38 #endif
39