summaryrefslogtreecommitdiffabout
path: root/korganizer/kodaymatrix.h
authorzautrix <zautrix>2005-03-20 00:09:33 (UTC)
committer zautrix <zautrix>2005-03-20 00:09:33 (UTC)
commit0ef9fe870982bd005806d7f51898a740cd52fec8 (patch) (unidiff)
tree891d95449e3f23159c50d7a38f03006bedfb41be /korganizer/kodaymatrix.h
parent84c18843bbd1203878367572d3a6800a0586c7f1 (diff)
downloadkdepimpi-0ef9fe870982bd005806d7f51898a740cd52fec8.zip
kdepimpi-0ef9fe870982bd005806d7f51898a740cd52fec8.tar.gz
kdepimpi-0ef9fe870982bd005806d7f51898a740cd52fec8.tar.bz2
cooooooool
Diffstat (limited to 'korganizer/kodaymatrix.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kodaymatrix.h5
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
38class QDragEnterEvent; 38class QDragEnterEvent;
39class QDragMoveEvent; 39class 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
173public slots: 174public 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
226private: 227private:
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;