author | zautrix <zautrix> | 2005-03-20 16:15:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-20 16:15:56 (UTC) |
commit | a9e08041c8978d52cfcabc84f579784af45eb8d9 (patch) (unidiff) | |
tree | 6448348326db4325938679350c58d87176d90771 /korganizer/kodaymatrix.h | |
parent | 69d75020eea5f95b9f5d77d97ed85ec8869d32db (diff) | |
download | kdepimpi-a9e08041c8978d52cfcabc84f579784af45eb8d9.zip kdepimpi-a9e08041c8978d52cfcabc84f579784af45eb8d9.tar.gz kdepimpi-a9e08041c8978d52cfcabc84f579784af45eb8d9.tar.bz2 |
layout fix
-rw-r--r-- | korganizer/kodaymatrix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kodaymatrix.h b/korganizer/kodaymatrix.h index 39946de..f4016b6 100644 --- a/korganizer/kodaymatrix.h +++ b/korganizer/kodaymatrix.h | |||
@@ -162,25 +162,25 @@ public: | |||
162 | bool isTodayVisible() const { return today>=0; } ; | 162 | bool isTodayVisible() const { return today>=0; } ; |
163 | 163 | ||
164 | /** If today is visible, then we can find out if today is | 164 | /** If today is visible, then we can find out if today is |
165 | * near the beginning or the end of the month. | 165 | * near the beginning or the end of the month. |
166 | * This is dependent on today remaining the index | 166 | * This is dependent on today remaining the index |
167 | * in the array of visible dates and going from | 167 | * in the array of visible dates and going from |
168 | * top left (0) to bottom right (41). | 168 | * top left (0) to bottom right (41). |
169 | */ | 169 | */ |
170 | bool isBeginningOfMonth() const { return today<=8; } ; | 170 | bool isBeginningOfMonth() const { return today<=8; } ; |
171 | bool isEndOfMonth() const { return today>=27; } ; | 171 | bool isEndOfMonth() const { return today>=27; } ; |
172 | QString getWhatsThisText( QPoint ) ; | 172 | QString getWhatsThisText( QPoint ) ; |
173 | QSize sizeHint() const; | 173 | QSize sizeHint() const; |
174 | 174 | QRect frameRect () const { int wid = frameWidth(); return QRect(0+wid,0+wid,width()-wid-wid,height()-wid-wid);} | |
175 | public slots: | 175 | public slots: |
176 | /** Recalculates all the flags of the days in the matrix like holidays or events | 176 | /** Recalculates all the flags of the days in the matrix like holidays or events |
177 | * on a day (Actually calls above method with the actual startdate). | 177 | * on a day (Actually calls above method with the actual startdate). |
178 | */ | 178 | */ |
179 | void updateView(); | 179 | void updateView(); |
180 | void updateViewTimed(); | 180 | void updateViewTimed(); |
181 | void repaintViewTimed(); | 181 | void repaintViewTimed(); |
182 | 182 | ||
183 | /** | 183 | /** |
184 | * Calculate which square in the matrix should be | 184 | * Calculate which square in the matrix should be |
185 | * hilighted to indicate it's today. | 185 | * hilighted to indicate it's today. |
186 | */ | 186 | */ |