From e006544cf2eb82b503b3ef979a2159b5de93037e Mon Sep 17 00:00:00 2001 From: alwin Date: Sun, 20 Mar 2005 10:51:54 +0000 Subject: maed a straight copy of the origin datebookmonthview class so we can display the holidays inside. needs a little bit finishing I think but it works. --- (limited to 'core/pim/datebook/datebook.cpp') diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index 0579279..cc7bf4b 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp @@ -27,6 +27,7 @@ #include "datebooksettings.h" #include "datebookweek.h" #include "modules/weeklst/datebookweeklst.h" +#include "modules/monthview/odatebookmonth.h" #include "dateentryimpl.h" #include @@ -35,7 +36,7 @@ #include #include -#include +//#include #include #include #include @@ -589,7 +590,7 @@ void DateBook::initWeekLst() { void DateBook::initMonth() { if ( !monthView ) { - monthView = new DateBookMonth( views, "month view", FALSE, db ); + monthView = new ODateBookMonth( views, "month view", FALSE, db ); views->addWidget( monthView, MONTH ); connect( monthView, SIGNAL( dateClicked(int,int,int) ), this, SLOT( showDay(int,int,int) ) ); connect( this, SIGNAL( newEvent() ), monthView, SLOT( redraw() ) ); -- cgit v0.9.0.2