author | umopapisdn <umopapisdn> | 2003-03-25 23:44:32 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-03-25 23:44:32 (UTC) |
commit | c98faafefdf2e9b9e16dcf2b1d57525f38282296 (patch) (unidiff) | |
tree | 75a6bc72f13ee81b86c368517aba3496b2c7e800 /core/pim/datebook/datebookweekheaderimpl.h | |
parent | aca404f0c049c5b1bace7e842e7e64b987f04616 (diff) | |
download | opie-c98faafefdf2e9b9e16dcf2b1d57525f38282296.zip opie-c98faafefdf2e9b9e16dcf2b1d57525f38282296.tar.gz opie-c98faafefdf2e9b9e16dcf2b1d57525f38282296.tar.bz2 |
Revamped the userinterface of the header for weekview to look more like the other views.
Diffstat (limited to 'core/pim/datebook/datebookweekheaderimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweekheaderimpl.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/core/pim/datebook/datebookweekheaderimpl.h b/core/pim/datebook/datebookweekheaderimpl.h index 2abef46..2e5a6ca 100644 --- a/core/pim/datebook/datebookweekheaderimpl.h +++ b/core/pim/datebook/datebookweekheaderimpl.h | |||
@@ -30,28 +30,32 @@ class DateBookWeekHeader : public DateBookWeekHeaderBase | |||
30 | public: | 30 | public: |
31 | DateBookWeekHeader( bool startOnMonday, QWidget* parent = 0, | 31 | DateBookWeekHeader( bool startOnMonday, QWidget* parent = 0, |
32 | const char* name = 0, WFlags fl = 0 ); | 32 | const char* name = 0, WFlags fl = 0 ); |
33 | ~DateBookWeekHeader(); | 33 | ~DateBookWeekHeader(); |
34 | 34 | ||
35 | void setDate( int y, int w ); | 35 | void setDate( int y, int w ); |
36 | void setStartOfWeek( bool onMonday ); | 36 | void setStartOfWeek( bool onMonday ); |
37 | 37 | ||
38 | signals: | 38 | signals: |
39 | void dateChanged( int y, int w ); | 39 | void dateChanged( int y, int w ); |
40 | 40 | ||
41 | public slots: | 41 | public slots: |
42 | void yearChanged( int ); | 42 | void pickDate(); |
43 | void nextWeek(); | 43 | void yearChanged( int ); |
44 | void prevWeek(); | 44 | void nextMonth(); |
45 | void weekChanged( int ); | 45 | void prevMonth(); |
46 | void nextWeek(); | ||
47 | void prevWeek(); | ||
48 | void weekChanged( int ); | ||
49 | void setDate( int y, int m, int d); | ||
46 | 50 | ||
47 | protected slots: | 51 | protected slots: |
48 | void keyPressEvent(QKeyEvent *e) | 52 | void keyPressEvent(QKeyEvent *e) |
49 | { | 53 | { |
50 | e->ignore(); | 54 | e->ignore(); |
51 | } | 55 | } |
52 | 56 | ||
53 | private: | 57 | private: |
54 | int year, | 58 | int year, |
55 | week; | 59 | week; |
56 | bool bStartOnMonday; | 60 | bool bStartOnMonday; |
57 | 61 | ||