summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebook.cpp
authoralwin <alwin>2005-03-20 10:51:54 (UTC)
committer alwin <alwin>2005-03-20 10:51:54 (UTC)
commite006544cf2eb82b503b3ef979a2159b5de93037e (patch) (side-by-side diff)
treed366c84224c97631c77737be71c79db6ec2b5c6d /core/pim/datebook/datebook.cpp
parent4f01835c3b26123f2660351e01b547fa1c9054e5 (diff)
downloadopie-e006544cf2eb82b503b3ef979a2159b5de93037e.zip
opie-e006544cf2eb82b503b3ef979a2159b5de93037e.tar.gz
opie-e006544cf2eb82b503b3ef979a2159b5de93037e.tar.bz2
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.
Diffstat (limited to 'core/pim/datebook/datebook.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp5
1 files changed, 3 insertions, 2 deletions
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
@@ -24,21 +24,22 @@
#include "datebook.h"
#include "datebookday.h"
#include "datebooksettings.h"
#include "datebookweek.h"
#include "modules/weeklst/datebookweeklst.h"
+#include "modules/monthview/odatebookmonth.h"
#include "dateentryimpl.h"
#include <opie2/odebug.h>
#include <opie2/oholidaypluginif.h>
#include <opie2/oholidayplugin.h>
#include <opie2/opluginloader.h>
#include <opie2/todayplugininterface.h>
-#include <qpe/datebookmonth.h>
+//#include <qpe/datebookmonth.h>
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
#include <qpe/finddialog.h>
#include <qpe/ir.h>
#include <qpe/qpemessagebox.h>
#include <qpe/resource.h>
@@ -586,13 +587,13 @@ 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() ) );
qApp->processEvents();
}
}