Diffstat (limited to 'core/pim/datebook/datebookweek.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweek.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/datebook/datebookweek.h b/core/pim/datebook/datebookweek.h index 8c5e06d..c273e30 100644 --- a/core/pim/datebook/datebookweek.h +++ b/core/pim/datebook/datebookweek.h @@ -124,7 +124,7 @@ protected slots: private slots: void showDay( int day ); - void dateChanged( int y, int w ); + void dateChanged( QDate &newdate ); void slotShowEvent( const EffectiveEvent & ); void slotHideEvent(); void slotYearChanged( int ); @@ -150,6 +150,7 @@ private: int year; int _week; int dow; + QDate bdate; DateBookWeekHeader *header; DateBookWeekView *view; DateBookDB *db; @@ -161,6 +162,5 @@ private: }; -bool calcWeek( const QDate &d, int &week, int &year, - bool startOnMonday = false ); +bool calcWeek( const QDate &d, int &week, int &year, bool startOnMonday = false ); #endif |