From 3d43b9e40e562957e1a3fcbe9268634db45951ce Mon Sep 17 00:00:00 2001 From: alwin Date: Wed, 16 Mar 2005 13:14:26 +0000 Subject: ho. in dayview a holiday will displayed (if plugin found) generated a straight forward dummy-holiday-plugin for testing the stuff. --- (limited to 'core/pim/datebook/datebookdayallday.h') diff --git a/core/pim/datebook/datebookdayallday.h b/core/pim/datebook/datebookdayallday.h index f5867e5..4f5cffa 100644 --- a/core/pim/datebook/datebookdayallday.h +++ b/core/pim/datebook/datebookdayallday.h @@ -24,6 +24,7 @@ public: QWidget* parent = 0, const char* name = 0, WFlags fl = 0); ~DatebookdayAllday(); DatebookAlldayDisp* addEvent(const EffectiveEvent&e); + DatebookAlldayDisp* addHoliday(const QString&e); const unsigned int items()const{return item_count;} public slots: @@ -45,6 +46,8 @@ class DatebookAlldayDisp : public QLabel public: DatebookAlldayDisp(DateBookDB* db,const EffectiveEvent& e, QWidget* parent=0,const char* name = 0, WFlags fl=0); + DatebookAlldayDisp(const QString&aholiday, + QWidget* parent=0,const char* name = 0, WFlags fl=0); virtual ~DatebookAlldayDisp(); signals: @@ -61,6 +64,7 @@ protected: DateBookDB* dateBook; void mousePressEvent( QMouseEvent *e ); void beam_single_event(); + bool m_holiday:1; }; class DatebookEventDesc: public QLabel -- cgit v0.9.0.2