-rw-r--r-- | korganizer/kodaymatrix.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/kodaymatrix.h b/korganizer/kodaymatrix.h index ba4853f..c049942 100644 --- a/korganizer/kodaymatrix.h +++ b/korganizer/kodaymatrix.h | |||
@@ -29,13 +29,13 @@ | |||
29 | #include <qframe.h> | 29 | #include <qframe.h> |
30 | #include <qcolor.h> | 30 | #include <qcolor.h> |
31 | #include <qpen.h> | 31 | #include <qpen.h> |
32 | #include <qdatetime.h> | 32 | #include <qdatetime.h> |
33 | #include <qtooltip.h> | 33 | #include <qtooltip.h> |
34 | #include <qpixmap.h> | 34 | #include <qpixmap.h> |
35 | 35 | #include <qbitarray.h> | |
36 | #include <qmap.h> | 36 | #include <qmap.h> |
37 | 37 | ||
38 | class QDragEnterEvent; | 38 | class QDragEnterEvent; |
39 | class QDragMoveEvent; | 39 | class QDragMoveEvent; |
40 | class QDragLeaveEvent; | 40 | class QDragLeaveEvent; |
41 | class QDropEvent; | 41 | class QDropEvent; |
@@ -166,12 +166,13 @@ public: | |||
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 | 173 | ||
173 | public slots: | 174 | public slots: |
174 | /** Recalculates all the flags of the days in the matrix like holidays or events | 175 | /** Recalculates all the flags of the days in the matrix like holidays or events |
175 | * on a day (Actually calls above method with the actual startdate). | 176 | * on a day (Actually calls above method with the actual startdate). |
176 | */ | 177 | */ |
177 | void updateView(); | 178 | void updateView(); |
@@ -221,12 +222,14 @@ protected: | |||
221 | 222 | ||
222 | void dropEvent(QDropEvent *); | 223 | void dropEvent(QDropEvent *); |
223 | 224 | ||
224 | void resizeEvent(QResizeEvent *); | 225 | void resizeEvent(QResizeEvent *); |
225 | 226 | ||
226 | private: | 227 | private: |
228 | bool mouseDown; | ||
229 | QBitArray bDays; | ||
227 | QPixmap myPix; | 230 | QPixmap myPix; |
228 | QTimer* mUpdateTimer; | 231 | QTimer* mUpdateTimer; |
229 | QTimer* mRepaintTimer; | 232 | QTimer* mRepaintTimer; |
230 | bool mDayChanged; | 233 | bool mDayChanged; |
231 | bool mPendingUpdateBeforeRepaint; | 234 | bool mPendingUpdateBeforeRepaint; |
232 | 235 | ||