-rw-r--r-- | korganizer/komonthview.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index b79a41f..f92a69a 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h | |||
@@ -197,65 +197,65 @@ class MonthViewCell : public QWidget | |||
197 | QPalette mHolidayPalette; | 197 | QPalette mHolidayPalette; |
198 | QPalette mStandardPalette; | 198 | QPalette mStandardPalette; |
199 | QPalette mPrimaryPalette; | 199 | QPalette mPrimaryPalette; |
200 | QPalette mNonPrimaryPalette; | 200 | QPalette mNonPrimaryPalette; |
201 | void setMyPalette(); | 201 | void setMyPalette(); |
202 | QPalette getPalette (); | 202 | QPalette getPalette (); |
203 | void keyPressEvent ( QKeyEvent * ) ; | 203 | void keyPressEvent ( QKeyEvent * ) ; |
204 | 204 | ||
205 | }; | 205 | }; |
206 | 206 | ||
207 | 207 | ||
208 | class KOMonthView: public KOEventView | 208 | class KOMonthView: public KOEventView |
209 | { | 209 | { |
210 | Q_OBJECT | 210 | Q_OBJECT |
211 | public: | 211 | public: |
212 | KOMonthView(Calendar *cal, QWidget *parent = 0, const char *name = 0 ); | 212 | KOMonthView(Calendar *cal, QWidget *parent = 0, const char *name = 0 ); |
213 | ~KOMonthView(); | 213 | ~KOMonthView(); |
214 | 214 | ||
215 | /** Returns maximum number of days supported by the komonthview */ | 215 | /** Returns maximum number of days supported by the komonthview */ |
216 | virtual int maxDatesHint(); | 216 | virtual int maxDatesHint(); |
217 | 217 | ||
218 | /** Returns number of currently shown dates. */ | 218 | /** Returns number of currently shown dates. */ |
219 | virtual int currentDateCount(); | 219 | virtual int currentDateCount(); |
220 | 220 | ||
221 | /** returns the currently selected events */ | 221 | /** returns the currently selected events */ |
222 | virtual QPtrList<Incidence> selectedIncidences(); | 222 | virtual QPtrList<Incidence> selectedIncidences(); |
223 | 223 | ||
224 | /** returns dates of the currently selected events */ | 224 | /** returns dates of the currently selected events */ |
225 | virtual DateList selectedDates(); | 225 | virtual DateList selectedDates(); |
226 | 226 | ||
227 | virtual void printPreview(CalPrinter *calPrinter, | 227 | virtual void printPreview(CalPrinter *calPrinter, |
228 | const QDate &, const QDate &); | 228 | const QDate &, const QDate &); |
229 | bool isMonthView() { return true; } | 229 | bool isMonthView() { return !mShowWeekView; } |
230 | bool isUpdatePossible() { return updatePossible; } | 230 | bool isUpdatePossible() { return updatePossible; } |
231 | 231 | ||
232 | MonthViewCell * selectedCell(); | 232 | MonthViewCell * selectedCell(); |
233 | bool skipResize; | 233 | bool skipResize; |
234 | NavigatorBar* navigatorBar() { return mNavigatorBar ;} | 234 | NavigatorBar* navigatorBar() { return mNavigatorBar ;} |
235 | public slots: | 235 | public slots: |
236 | virtual void updateView(); | 236 | virtual void updateView(); |
237 | virtual void updateConfig(); | 237 | virtual void updateConfig(); |
238 | virtual void showDates(const QDate &start, const QDate &end); | 238 | virtual void showDates(const QDate &start, const QDate &end); |
239 | virtual void showEvents(QPtrList<Event> eventList); | 239 | virtual void showEvents(QPtrList<Event> eventList); |
240 | 240 | ||
241 | void changeEventDisplay(Event *, int); | 241 | void changeEventDisplay(Event *, int); |
242 | 242 | ||
243 | void clearSelection(); | 243 | void clearSelection(); |
244 | 244 | ||
245 | void showContextMenu( Incidence * ); | 245 | void showContextMenu( Incidence * ); |
246 | 246 | ||
247 | void setSelectedCell( MonthViewCell * ); | 247 | void setSelectedCell( MonthViewCell * ); |
248 | void switchView(); | 248 | void switchView(); |
249 | 249 | ||
250 | protected slots: | 250 | protected slots: |
251 | void selectInternalWeekNum ( int ); | 251 | void selectInternalWeekNum ( int ); |
252 | void processSelectionChange(); | 252 | void processSelectionChange(); |
253 | signals: | 253 | signals: |
254 | void nextMonth(); | 254 | void nextMonth(); |
255 | void prevMonth(); | 255 | void prevMonth(); |
256 | void selectWeekNum ( int ); | 256 | void selectWeekNum ( int ); |
257 | void selectMonth (); | 257 | void selectMonth (); |
258 | void showDaySignal( QDate ); | 258 | void showDaySignal( QDate ); |
259 | protected: | 259 | protected: |
260 | void resizeEvent(QResizeEvent *); | 260 | void resizeEvent(QResizeEvent *); |
261 | void viewChanged(); | 261 | void viewChanged(); |