OSDN Git Service

Merge branch 'post-2.4.2'
[tjqt4port/tj2qt4.git] / taskjuggler / HTMLMonthlyCalendar.cpp
index 72b5873..ee6bf85 100644 (file)
  * $Id: HTMLMonthlyCalendar.cpp 1259 2006-01-31 12:04:00Z cs $
  */
 
-#include <qfile.h>
-
-#include "tjlib-internal.h"
-#include "HTMLMonthlyCalendar.h"
-#include "HTMLMonthlyCalendarElement.h"
-
-HTMLMonthlyCalendar::HTMLMonthlyCalendar(Project* p, const QString& f,
-                                       const QString& df, int dl) :
-    HTMLReport(p, f, df, dl)
-{
-    tab = new HTMLMonthlyCalendarElement(this, df, dl);
-}
-
-HTMLMonthlyCalendar::~HTMLMonthlyCalendar()
-{
-    delete tab;
-}
-
-bool
-HTMLMonthlyCalendar::generate()
-{
-    if (!open())
-        return FALSE;
-
-    generateHeader(i18n("Weekly Calendar"));
-    tab->generate();
-    generateFooter();
-
-    f.close();
-    return TRUE;
-}
-