-rw-r--r-- | korganizer/komonthview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/komonthview.h b/korganizer/komonthview.h index 700f098..51eb9e6 100644 --- a/korganizer/komonthview.h +++ b/korganizer/komonthview.h | |||
@@ -54,6 +54,7 @@ class KOWeekButton : public QPushButton | |||
54 | mNumber = -1; | 54 | mNumber = -1; |
55 | } | 55 | } |
56 | void setWeekNum ( int num ) {mNumber = num; setText( QString::number ( num ));} | 56 | void setWeekNum ( int num ) {mNumber = num; setText( QString::number ( num ));} |
57 | int getWeekNum() { return mNumber;} | ||
57 | signals: | 58 | signals: |
58 | void selectWeekNum ( int ); | 59 | void selectWeekNum ( int ); |
59 | private: | 60 | private: |
@@ -76,6 +77,7 @@ class KNoScrollListBox: public QListBox | |||
76 | void rightClick(); | 77 | void rightClick(); |
77 | 78 | ||
78 | protected slots: | 79 | protected slots: |
80 | void oneDown(); | ||
79 | void keyPressEvent(QKeyEvent *); | 81 | void keyPressEvent(QKeyEvent *); |
80 | void keyReleaseEvent(QKeyEvent *); | 82 | void keyReleaseEvent(QKeyEvent *); |
81 | void mousePressEvent(QMouseEvent *); | 83 | void mousePressEvent(QMouseEvent *); |
@@ -241,7 +243,6 @@ class KOMonthView: public KOEventView | |||
241 | void setSelectedCell( MonthViewCell * ); | 243 | void setSelectedCell( MonthViewCell * ); |
242 | 244 | ||
243 | protected slots: | 245 | protected slots: |
244 | void selectDateWeekNum ( int ); | ||
245 | void selectInternalWeekNum ( int ); | 246 | void selectInternalWeekNum ( int ); |
246 | void switchView(); | 247 | void switchView(); |
247 | void processSelectionChange(); | 248 | void processSelectionChange(); |
@@ -257,6 +258,7 @@ class KOMonthView: public KOEventView | |||
257 | void updateDayLabels(); | 258 | void updateDayLabels(); |
258 | 259 | ||
259 | private: | 260 | private: |
261 | int currentWeek(); | ||
260 | bool clPending; | 262 | bool clPending; |
261 | QWidgetStack * mWidStack; | 263 | QWidgetStack * mWidStack; |
262 | QWidget* mMonthView; | 264 | QWidget* mMonthView; |