author | zautrix <zautrix> | 2005-01-31 23:43:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-31 23:43:35 (UTC) |
commit | fce3fd8accec495a2deda6fe3cd55375fac46432 (patch) (unidiff) | |
tree | 24231254fa729b1b546f0475759fcba24455e1f5 /korganizer/kodaymatrix.h | |
parent | 336678d691a8c3346c92a4e561ac7938ed532003 (diff) | |
download | kdepimpi-fce3fd8accec495a2deda6fe3cd55375fac46432.zip kdepimpi-fce3fd8accec495a2deda6fe3cd55375fac46432.tar.gz kdepimpi-fce3fd8accec495a2deda6fe3cd55375fac46432.tar.bz2 |
mf
-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 ac2f59c..2dd112a 100644 --- a/korganizer/kodaymatrix.h +++ b/korganizer/kodaymatrix.h | |||
@@ -22,24 +22,25 @@ | |||
22 | */ | 22 | */ |
23 | #ifndef _KODAYMAT_H | 23 | #ifndef _KODAYMAT_H |
24 | #define _KODAYMAT_H | 24 | #define _KODAYMAT_H |
25 | 25 | ||
26 | #include <libkcal/calendar.h> | 26 | #include <libkcal/calendar.h> |
27 | 27 | ||
28 | #include <qstring.h> | 28 | #include <qstring.h> |
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 | 35 | ||
35 | #include <qmap.h> | 36 | #include <qmap.h> |
36 | 37 | ||
37 | class QDragEnterEvent; | 38 | class QDragEnterEvent; |
38 | class QDragMoveEvent; | 39 | class QDragMoveEvent; |
39 | class QDragLeaveEvent; | 40 | class QDragLeaveEvent; |
40 | class QDropEvent; | 41 | class QDropEvent; |
41 | 42 | ||
42 | class KODayMatrix; | 43 | class KODayMatrix; |
43 | 44 | ||
44 | using namespace KCal; | 45 | using namespace KCal; |
45 | 46 | ||
@@ -212,24 +213,25 @@ protected: | |||
212 | 213 | ||
213 | void dragEnterEvent(QDragEnterEvent *); | 214 | void dragEnterEvent(QDragEnterEvent *); |
214 | 215 | ||
215 | void dragMoveEvent(QDragMoveEvent *); | 216 | void dragMoveEvent(QDragMoveEvent *); |
216 | 217 | ||
217 | void dragLeaveEvent(QDragLeaveEvent *); | 218 | void dragLeaveEvent(QDragLeaveEvent *); |
218 | 219 | ||
219 | void dropEvent(QDropEvent *); | 220 | void dropEvent(QDropEvent *); |
220 | 221 | ||
221 | void resizeEvent(QResizeEvent *); | 222 | void resizeEvent(QResizeEvent *); |
222 | 223 | ||
223 | private: | 224 | private: |
225 | QPixmap myPix; | ||
224 | QTimer* mUpdateTimer; | 226 | QTimer* mUpdateTimer; |
225 | QTimer* mRepaintTimer; | 227 | QTimer* mRepaintTimer; |
226 | bool mDayChanged; | 228 | bool mDayChanged; |
227 | bool mPendingUpdateBeforeRepaint; | 229 | bool mPendingUpdateBeforeRepaint; |
228 | 230 | ||
229 | /** returns the index of the day located at the matrix's widget (x,y) position. | 231 | /** returns the index of the day located at the matrix's widget (x,y) position. |
230 | * | 232 | * |
231 | * @param x horizontal coordinate | 233 | * @param x horizontal coordinate |
232 | * @param y vertical coordinate | 234 | * @param y vertical coordinate |
233 | */ | 235 | */ |
234 | int getDayIndexFrom(int x, int y); | 236 | int getDayIndexFrom(int x, int y); |
235 | 237 | ||