-rw-r--r-- | korganizer/kodaymatrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/korganizer/kodaymatrix.h b/korganizer/kodaymatrix.h index d725ead..b686bd7 100644 --- a/korganizer/kodaymatrix.h +++ b/korganizer/kodaymatrix.h | |||
@@ -214,39 +214,41 @@ protected: | |||
214 | 214 | ||
215 | void mouseReleaseEvent (QMouseEvent* e); | 215 | void mouseReleaseEvent (QMouseEvent* e); |
216 | 216 | ||
217 | void mouseMoveEvent (QMouseEvent* e); | 217 | void mouseMoveEvent (QMouseEvent* e); |
218 | 218 | ||
219 | void dragEnterEvent(QDragEnterEvent *); | 219 | void dragEnterEvent(QDragEnterEvent *); |
220 | 220 | ||
221 | void dragMoveEvent(QDragMoveEvent *); | 221 | void dragMoveEvent(QDragMoveEvent *); |
222 | 222 | ||
223 | void dragLeaveEvent(QDragLeaveEvent *); | 223 | void dragLeaveEvent(QDragLeaveEvent *); |
224 | 224 | ||
225 | void dropEvent(QDropEvent *); | 225 | void dropEvent(QDropEvent *); |
226 | 226 | ||
227 | void resizeEvent(QResizeEvent *); | 227 | void resizeEvent(QResizeEvent *); |
228 | 228 | ||
229 | private: | 229 | private: |
230 | void computeEvent(Event *even, int dayindex ); | ||
230 | int oldW, oldH; | 231 | int oldW, oldH; |
231 | bool mRedrawNeeded; | 232 | bool mRedrawNeeded; |
232 | KODaymatrixWhatsThis* mKODaymatrixWhatsThis; | 233 | KODaymatrixWhatsThis* mKODaymatrixWhatsThis; |
233 | bool mouseDown; | 234 | bool mouseDown; |
234 | QBitArray bDays; | 235 | QBitArray bDays; |
235 | QBitArray hDays; | 236 | QBitArray hDays; |
236 | QBitArray eDays; | 237 | QBitArray eDays; |
238 | QBitArray pDays; | ||
237 | QPixmap myPix; | 239 | QPixmap myPix; |
238 | QTimer* mUpdateTimer; | 240 | QTimer* mUpdateTimer; |
239 | QTimer* mRepaintTimer; | 241 | QTimer* mRepaintTimer; |
240 | bool mDayChanged; | 242 | bool mDayChanged; |
241 | bool mPendingUpdateBeforeRepaint; | 243 | bool mPendingUpdateBeforeRepaint; |
242 | 244 | ||
243 | /** returns the index of the day located at the matrix's widget (x,y) position. | 245 | /** returns the index of the day located at the matrix's widget (x,y) position. |
244 | * | 246 | * |
245 | * @param x horizontal coordinate | 247 | * @param x horizontal coordinate |
246 | * @param y vertical coordinate | 248 | * @param y vertical coordinate |
247 | */ | 249 | */ |
248 | int getDayIndexFrom(int x, int y); | 250 | int getDayIndexFrom(int x, int y); |
249 | 251 | ||
250 | /** calculates a "shaded" color from the supplied color object. | 252 | /** calculates a "shaded" color from the supplied color object. |
251 | * (Copied from Cornelius's kdpdatebutton.cpp) | 253 | * (Copied from Cornelius's kdpdatebutton.cpp) |
252 | * | 254 | * |