-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 mNumber = -1; } void setWeekNum ( int num ) {mNumber = num; setText( QString::number ( num ));} + int getWeekNum() { return mNumber;} signals: void selectWeekNum ( int ); private: @@ -76,6 +77,7 @@ class KNoScrollListBox: public QListBox void rightClick(); protected slots: + void oneDown(); void keyPressEvent(QKeyEvent *); void keyReleaseEvent(QKeyEvent *); void mousePressEvent(QMouseEvent *); @@ -241,7 +243,6 @@ class KOMonthView: public KOEventView void setSelectedCell( MonthViewCell * ); protected slots: - void selectDateWeekNum ( int ); void selectInternalWeekNum ( int ); void switchView(); void processSelectionChange(); @@ -257,6 +258,7 @@ class KOMonthView: public KOEventView void updateDayLabels(); private: + int currentWeek(); bool clPending; QWidgetStack * mWidStack; QWidget* mMonthView; |