summaryrefslogtreecommitdiffabout
path: root/korganizer/kodaymatrix.h
Unidiff
Diffstat (limited to 'korganizer/kodaymatrix.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kodaymatrix.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/korganizer/kodaymatrix.h b/korganizer/kodaymatrix.h
index b96e08f..6edf7cd 100644
--- a/korganizer/kodaymatrix.h
+++ b/korganizer/kodaymatrix.h
@@ -21,24 +21,32 @@
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
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 <q3frame.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#include <qbitarray.h> 35#include <qbitarray.h>
36#include <qmap.h> 36#include <qmap.h>
37//Added by qt3to4:
38#include <QDragMoveEvent>
39#include <QDropEvent>
40#include <QDragLeaveEvent>
41#include <QPaintEvent>
42#include <QResizeEvent>
43#include <QMouseEvent>
44#include <QDragEnterEvent>
37 45
38class QDragEnterEvent; 46class QDragEnterEvent;
39class QDragMoveEvent; 47class QDragMoveEvent;
40class QDragLeaveEvent; 48class QDragLeaveEvent;
41class QDropEvent; 49class QDropEvent;
42 50
43class KODayMatrix; 51class KODayMatrix;
44class KODaymatrixWhatsThis; 52class KODaymatrixWhatsThis;
@@ -46,17 +54,17 @@ class KODaymatrixWhatsThis;
46using namespace KCal; 54using namespace KCal;
47 55
48 56
49/** 57/**
50 * small helper class to dynamically show tooltips inside the day matrix. 58 * small helper class to dynamically show tooltips inside the day matrix.
51 * This class asks the day matrix object for a appropriate label which 59 * This class asks the day matrix object for a appropriate label which
52 * is in our special case the name of the holiday or null if this day is no holiday. 60 * is in our special case the name of the holiday or null if this day is no holiday.
53 */ 61 */
54class DynamicTip : public QToolTip 62class DynamicTip /* TODO:hacker: : public QToolTip */
55{ 63{
56public: 64public:
57 65
58 /** 66 /**
59 * Constructor that expects a KODayMatrix object as parent. 67 * Constructor that expects a KODayMatrix object as parent.
60 * 68 *
61 * @param parent the parent KODayMatrix control. 69 * @param parent the parent KODayMatrix control.
62 */ 70 */
@@ -98,17 +106,17 @@ private:
98 * o now that you can select more then a week it can happen that not all selected days are 106 * o now that you can select more then a week it can happen that not all selected days are
99 * displayed in the matrix. However this is preferred to the alternative which would mean to 107 * displayed in the matrix. However this is preferred to the alternative which would mean to
100 * adjust the selection and leave some days undisplayed while scrolling through the months 108 * adjust the selection and leave some days undisplayed while scrolling through the months
101 * 109 *
102 * @short day matrix widget of the KDateNavigator 110 * @short day matrix widget of the KDateNavigator
103 * 111 *
104 * @author Eitzenberger Thomas 112 * @author Eitzenberger Thomas
105 */ 113 */
106class KODayMatrix: public QFrame { 114class KODayMatrix: public Q3Frame {
107 115
108 Q_OBJECT 116 Q_OBJECT
109 117
110public: 118public:
111 119
112 /** constructor to create a day matrix widget. 120 /** constructor to create a day matrix widget.
113 * 121 *
114 * @param parent widget that is the parent of the day matrix. Normally this should 122 * @param parent widget that is the parent of the day matrix. Normally this should