summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebookdayallday.h
Unidiff
Diffstat (limited to 'core/pim/datebook/datebookdayallday.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebookdayallday.h4
1 files changed, 4 insertions, 0 deletions
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
@@ -21,12 +21,13 @@ class DatebookdayAllday : public QScrollView
21 21
22public: 22public:
23 DatebookdayAllday(DateBookDB* db, 23 DatebookdayAllday(DateBookDB* db,
24 QWidget* parent = 0, const char* name = 0, WFlags fl = 0); 24 QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
25 ~DatebookdayAllday(); 25 ~DatebookdayAllday();
26 DatebookAlldayDisp* addEvent(const EffectiveEvent&e); 26 DatebookAlldayDisp* addEvent(const EffectiveEvent&e);
27 DatebookAlldayDisp* addHoliday(const QString&e);
27 const unsigned int items()const{return item_count;} 28 const unsigned int items()const{return item_count;}
28 29
29public slots: 30public slots:
30 void removeAllEvents(); 31 void removeAllEvents();
31 32
32protected: 33protected:
@@ -42,12 +43,14 @@ class DatebookAlldayDisp : public QLabel
42{ 43{
43 Q_OBJECT 44 Q_OBJECT
44 45
45public: 46public:
46 DatebookAlldayDisp(DateBookDB* db,const EffectiveEvent& e, 47 DatebookAlldayDisp(DateBookDB* db,const EffectiveEvent& e,
47 QWidget* parent=0,const char* name = 0, WFlags fl=0); 48 QWidget* parent=0,const char* name = 0, WFlags fl=0);
49 DatebookAlldayDisp(const QString&aholiday,
50 QWidget* parent=0,const char* name = 0, WFlags fl=0);
48 virtual ~DatebookAlldayDisp(); 51 virtual ~DatebookAlldayDisp();
49 52
50signals: 53signals:
51 void deleteMe( const Event &e ); 54 void deleteMe( const Event &e );
52 void duplicateMe( const Event &e ); 55 void duplicateMe( const Event &e );
53 void editMe( const Event &e ); 56 void editMe( const Event &e );
@@ -58,12 +61,13 @@ public slots:
58 61
59protected: 62protected:
60 EffectiveEvent m_Ev; 63 EffectiveEvent m_Ev;
61 DateBookDB* dateBook; 64 DateBookDB* dateBook;
62 void mousePressEvent( QMouseEvent *e ); 65 void mousePressEvent( QMouseEvent *e );
63 void beam_single_event(); 66 void beam_single_event();
67 bool m_holiday:1;
64}; 68};
65 69
66class DatebookEventDesc: public QLabel 70class DatebookEventDesc: public QLabel
67{ 71{
68 Q_OBJECT 72 Q_OBJECT
69 73