-rw-r--r-- | korganizer/komonthview.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 9e724c7..c1ca3d4 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h | |||
@@ -61,6 +61,11 @@ class KOWeekButton : public QPushButton | |||
61 | void selectWeekNum ( int ); | 61 | void selectWeekNum ( int ); |
62 | private: | 62 | private: |
63 | int mNumber; | 63 | int mNumber; |
64 | void keyPressEvent ( QKeyEvent * e ) | ||
65 | { | ||
66 | e->ignore(); | ||
67 | } | ||
68 | |||
64 | private slots : | 69 | private slots : |
65 | void bottonClicked() { if ( mNumber > 0 ) emit selectWeekNum ( mNumber ); } | 70 | void bottonClicked() { if ( mNumber > 0 ) emit selectWeekNum ( mNumber ); } |
66 | }; | 71 | }; |
@@ -163,7 +168,6 @@ class MonthViewCell : public KNoScrollListBox | |||
163 | 168 | ||
164 | void deselect(); | 169 | void deselect(); |
165 | void select(); | 170 | void select(); |
166 | |||
167 | #ifdef DESKTOP_VERSION | 171 | #ifdef DESKTOP_VERSION |
168 | static QToolTipGroup *toolTipGroup(); | 172 | static QToolTipGroup *toolTipGroup(); |
169 | #endif | 173 | #endif |
@@ -257,6 +261,8 @@ class KOMonthView: public KOEventView | |||
257 | 261 | ||
258 | void setSelectedCell( MonthViewCell * ); | 262 | void setSelectedCell( MonthViewCell * ); |
259 | void switchView(); | 263 | void switchView(); |
264 | void setKeyBoardFocus(); | ||
265 | void setKeyBFocus(); | ||
260 | 266 | ||
261 | protected slots: | 267 | protected slots: |
262 | void slotComputeLayout(); | 268 | void slotComputeLayout(); |