author | zautrix <zautrix> | 2005-03-20 00:09:33 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-20 00:09:33 (UTC) |
commit | 0ef9fe870982bd005806d7f51898a740cd52fec8 (patch) (unidiff) | |
tree | 891d95449e3f23159c50d7a38f03006bedfb41be /korganizer/kodaymatrix.h | |
parent | 84c18843bbd1203878367572d3a6800a0586c7f1 (diff) | |
download | kdepimpi-0ef9fe870982bd005806d7f51898a740cd52fec8.zip kdepimpi-0ef9fe870982bd005806d7f51898a740cd52fec8.tar.gz kdepimpi-0ef9fe870982bd005806d7f51898a740cd52fec8.tar.bz2 |
cooooooool
-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 | |||
@@ -31,9 +31,9 @@ | |||
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; |
@@ -168,8 +168,9 @@ public: | |||
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). |
@@ -223,8 +224,10 @@ protected: | |||
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; |