author | umopapisdn <umopapisdn> | 2003-05-05 21:44:39 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-05-05 21:44:39 (UTC) |
commit | 3b193b852133a82b5c1708b68a7e460c63629768 (patch) (unidiff) | |
tree | 8cd0ff3adc14f0b937d24ab99fca327fb3f16875 /core/pim/datebook/datebookweek.h | |
parent | 12a700f8903eedeba03d3aba7990b9d660410045 (diff) | |
download | opie-3b193b852133a82b5c1708b68a7e460c63629768.zip opie-3b193b852133a82b5c1708b68a7e460c63629768.tar.gz opie-3b193b852133a82b5c1708b68a7e460c63629768.tar.bz2 |
UI and code cleanup. Both UI and code is now more consistent. Also removed menus in favor of toolbuttons. (why were they even available as menus in the first place?)
Diffstat (limited to 'core/pim/datebook/datebookweek.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweek.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/pim/datebook/datebookweek.h b/core/pim/datebook/datebookweek.h index acbc2c7..8c5e06d 100644 --- a/core/pim/datebook/datebookweek.h +++ b/core/pim/datebook/datebookweek.h | |||
@@ -100,26 +100,24 @@ class DateBookWeek : public QWidget | |||
100 | Q_OBJECT | 100 | Q_OBJECT |
101 | 101 | ||
102 | public: | 102 | public: |
103 | DateBookWeek( bool ampm, bool weekOnMonday, DateBookDB *newDB, | 103 | DateBookWeek( bool ampm, bool weekOnMonday, DateBookDB *newDB, |
104 | QWidget *parent = 0, const char *name = 0 ); | 104 | QWidget *parent = 0, const char *name = 0 ); |
105 | void setDate( int y, int m, int d ); | 105 | void setDate( int y, int m, int d ); |
106 | void setDate( QDate d ); | 106 | void setDate( QDate d ); |
107 | QDate date() const; | 107 | QDate date() const; |
108 | DateBookWeekView *weekView() const { return view; } | 108 | DateBookWeekView *weekView() const { return view; } |
109 | void setStartViewTime( int startHere ); | 109 | void setStartViewTime( int startHere ); |
110 | int startViewTime() const; | 110 | int startViewTime() const; |
111 | int week() const { return _week; }; | 111 | int week() const { return _week; }; |
112 | void setTotalWeeks( int totalWeeks ); | ||
113 | int totalWeeks() const; | ||
114 | QDate weekDate() const; | 112 | QDate weekDate() const; |
115 | 113 | ||
116 | public slots: | 114 | public slots: |
117 | void redraw(); | 115 | void redraw(); |
118 | void slotWeekChanged( bool bStartOnMonday ); | 116 | void slotWeekChanged( bool bStartOnMonday ); |
119 | void slotClockChanged( bool a ); | 117 | void slotClockChanged( bool a ); |
120 | 118 | ||
121 | signals: | 119 | signals: |
122 | void showDate( int y, int m, int d ); | 120 | void showDate( int y, int m, int d ); |
123 | 121 | ||
124 | protected slots: | 122 | protected slots: |
125 | void keyPressEvent(QKeyEvent *); | 123 | void keyPressEvent(QKeyEvent *); |