-rw-r--r-- | korganizer/koagendaitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/koagendaitem.h b/korganizer/koagendaitem.h index 53658c0..d1b1940 100644 --- a/korganizer/koagendaitem.h +++ b/korganizer/koagendaitem.h | |||
@@ -101,48 +101,49 @@ class KOAgendaItem : public QWidget | |||
101 | void addConflictItem(KOAgendaItem *ci); | 101 | void addConflictItem(KOAgendaItem *ci); |
102 | void paintMe( bool, QPainter* painter = 0 ); | 102 | void paintMe( bool, QPainter* painter = 0 ); |
103 | void repaintMe(); | 103 | void repaintMe(); |
104 | static void resizePixmap( int, int ); | 104 | static void resizePixmap( int, int ); |
105 | static QPixmap * paintPix(); | 105 | static QPixmap * paintPix(); |
106 | static QPixmap * paintPixSel(); | 106 | static QPixmap * paintPixSel(); |
107 | static QPixmap * paintPixAllday(); | 107 | static QPixmap * paintPixAllday(); |
108 | void updateItem(); | 108 | void updateItem(); |
109 | void computeText(); | 109 | void computeText(); |
110 | void recreateIncidence(); | 110 | void recreateIncidence(); |
111 | bool checkLayout(); | 111 | bool checkLayout(); |
112 | public slots: | 112 | public slots: |
113 | bool updateIcons( QPainter *, bool ); | 113 | bool updateIcons( QPainter *, bool ); |
114 | void select(bool=true); | 114 | void select(bool=true); |
115 | 115 | ||
116 | protected: | 116 | protected: |
117 | void dragEnterEvent(QDragEnterEvent *e); | 117 | void dragEnterEvent(QDragEnterEvent *e); |
118 | void dropEvent(QDropEvent *e); | 118 | void dropEvent(QDropEvent *e); |
119 | void paintEvent ( QPaintEvent * ); | 119 | void paintEvent ( QPaintEvent * ); |
120 | void resizeEvent ( QResizeEvent *ev ); | 120 | void resizeEvent ( QResizeEvent *ev ); |
121 | 121 | ||
122 | private: | 122 | private: |
123 | KOAgendaItemWhatsThis* mKOAgendaItemWhatsThis; | 123 | KOAgendaItemWhatsThis* mKOAgendaItemWhatsThis; |
124 | bool mAllDay; | 124 | bool mAllDay; |
125 | bool mWhiteText; | ||
125 | int mCellX; | 126 | int mCellX; |
126 | int mCellXWidth; | 127 | int mCellXWidth; |
127 | int mCellYTop,mCellYBottom; | 128 | int mCellYTop,mCellYBottom; |
128 | int mSubCell; // subcell number of this item | 129 | int mSubCell; // subcell number of this item |
129 | int mSubCells; // Total number of subcells in cell of this item | 130 | int mSubCells; // Total number of subcells in cell of this item |
130 | int xPaintCoord; | 131 | int xPaintCoord; |
131 | int yPaintCoord; | 132 | int yPaintCoord; |
132 | int wPaintCoord; | 133 | int wPaintCoord; |
133 | int hPaintCoord; | 134 | int hPaintCoord; |
134 | // Variables to remember start position | 135 | // Variables to remember start position |
135 | int mStartCellX; | 136 | int mStartCellX; |
136 | int mStartCellXWidth; | 137 | int mStartCellXWidth; |
137 | int mStartCellYTop,mStartCellYBottom; | 138 | int mStartCellYTop,mStartCellYBottom; |
138 | int mLastMovePos; | 139 | int mLastMovePos; |
139 | 140 | ||
140 | // Multi item pointers | 141 | // Multi item pointers |
141 | KOAgendaItem *mFirstMultiItem; | 142 | KOAgendaItem *mFirstMultiItem; |
142 | KOAgendaItem *mNextMultiItem; | 143 | KOAgendaItem *mNextMultiItem; |
143 | KOAgendaItem *mLastMultiItem; | 144 | KOAgendaItem *mLastMultiItem; |
144 | 145 | ||
145 | int mFontPixelSize; | 146 | int mFontPixelSize; |
146 | Incidence *mIncidence; // corresponding event or todo | 147 | Incidence *mIncidence; // corresponding event or todo |
147 | QDate mDate; //date this events occurs (for recurrence) | 148 | QDate mDate; //date this events occurs (for recurrence) |
148 | //void showIcon( QLabel*, int ); | 149 | //void showIcon( QLabel*, int ); |