-rw-r--r-- | korganizer/komonthview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 2f6f5dc..b79a41f 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h | |||
@@ -88,38 +88,40 @@ class KNoScrollListBox: public QListBox | |||
88 | }; | 88 | }; |
89 | 89 | ||
90 | 90 | ||
91 | class MonthViewItem: public QListBoxItem | 91 | class MonthViewItem: public QListBoxItem |
92 | { | 92 | { |
93 | public: | 93 | public: |
94 | MonthViewItem( Incidence *, QDate qd, const QString & title ); | 94 | MonthViewItem( Incidence *, QDate qd, const QString & title ); |
95 | 95 | ||
96 | void setRecur(bool on) { mRecur = on; } | 96 | void setRecur(bool on) { mRecur = on; } |
97 | void setAlarm(bool on) { mAlarm = on; } | 97 | void setAlarm(bool on) { mAlarm = on; } |
98 | void setReply(bool on) { mReply = on; } | 98 | void setReply(bool on) { mReply = on; } |
99 | void setMoreInfo(bool on) { mInfo = on; } | 99 | void setMoreInfo(bool on) { mInfo = on; } |
100 | void setMultiDay(int type) { mMultiday = type; } | ||
100 | 101 | ||
101 | 102 | ||
102 | void setPalette(const QPalette &p) { mPalette = p; } | 103 | void setPalette(const QPalette &p) { mPalette = p; } |
103 | QPalette palette() const { return mPalette; } | 104 | QPalette palette() const { return mPalette; } |
104 | 105 | ||
105 | Incidence *incidence() const { return mIncidence; } | 106 | Incidence *incidence() const { return mIncidence; } |
106 | QDate incidenceDate() { return mDate; } | 107 | QDate incidenceDate() { return mDate; } |
107 | 108 | ||
108 | protected: | 109 | protected: |
109 | virtual void paint(QPainter *); | 110 | virtual void paint(QPainter *); |
110 | virtual int height(const QListBox *) const; | 111 | virtual int height(const QListBox *) const; |
111 | virtual int width(const QListBox *) const; | 112 | virtual int width(const QListBox *) const; |
112 | 113 | ||
113 | private: | 114 | private: |
115 | int mMultiday; | ||
114 | bool mRecur; | 116 | bool mRecur; |
115 | bool mAlarm; | 117 | bool mAlarm; |
116 | bool mReply; | 118 | bool mReply; |
117 | bool mInfo; | 119 | bool mInfo; |
118 | 120 | ||
119 | QPalette mPalette; | 121 | QPalette mPalette; |
120 | QDate mDate; | 122 | QDate mDate; |
121 | 123 | ||
122 | Incidence *mIncidence; | 124 | Incidence *mIncidence; |
123 | }; | 125 | }; |
124 | 126 | ||
125 | 127 | ||