summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaview.h
Unidiff
Diffstat (limited to 'korganizer/koagendaview.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagendaview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koagendaview.h b/korganizer/koagendaview.h
index 7774fbe..fd0a7af 100644
--- a/korganizer/koagendaview.h
+++ b/korganizer/koagendaview.h
@@ -186,77 +186,78 @@ class KOAgendaView : public KOEventView {
186 void newTodoSignal( QDateTime ,bool ); 186 void newTodoSignal( QDateTime ,bool );
187 void toggleExpand(); 187 void toggleExpand();
188 void todoMoved( Todo *, int ); 188 void todoMoved( Todo *, int );
189 void incidenceChanged(Incidence * , int ); 189 void incidenceChanged(Incidence * , int );
190 // void cloneIncidenceSignal(Incidence *); 190 // void cloneIncidenceSignal(Incidence *);
191 191
192 protected: 192 protected:
193 bool mBlockUpdating; 193 bool mBlockUpdating;
194 int mUpcomingWidth; 194 int mUpcomingWidth;
195 /** Fill agenda beginning with date startDate */ 195 /** Fill agenda beginning with date startDate */
196 void fillAgenda(const QDate &startDate); 196 void fillAgenda(const QDate &startDate);
197 void resizeEvent( QResizeEvent* e ); 197 void resizeEvent( QResizeEvent* e );
198 /** Fill agenda using the current set value for the start date */ 198 /** Fill agenda using the current set value for the start date */
199 void fillAgenda(); 199 void fillAgenda();
200 200
201 /** Create labels for the selected dates. */ 201 /** Create labels for the selected dates. */
202 void createDayLabels(); 202 void createDayLabels();
203 203
204 /** 204 /**
205 Set the masks on the agenda widgets indicating, which days are holidays. 205 Set the masks on the agenda widgets indicating, which days are holidays.
206 */ 206 */
207 void setHolidayMasks(); 207 void setHolidayMasks();
208 208
209 protected slots: 209 protected slots:
210 void slotDaylabelClicked();
210 /** Update event belonging to agenda item */ 211 /** Update event belonging to agenda item */
211 void updateEventDates(KOAgendaItem *item, int mode = -1); 212 void updateEventDates(KOAgendaItem *item, int mode = -1);
212 //void updateMovedTodo(); 213 //void updateMovedTodo();
213 214
214 void updateEventIndicatorTop(int newY); 215 void updateEventIndicatorTop(int newY);
215 void updateEventIndicatorBottom(int newY); 216 void updateEventIndicatorBottom(int newY);
216 217
217 /** Updates data for selected timespan */ 218 /** Updates data for selected timespan */
218 void newTimeSpanSelected(int gxStart, int gyStart, int gxEnd, int gyEnd); 219 void newTimeSpanSelected(int gxStart, int gyStart, int gxEnd, int gyEnd);
219 /** Updates data for selected timespan for all day event*/ 220 /** Updates data for selected timespan for all day event*/
220 void newTimeSpanSelectedAllDay(int gxStart, int gyStart, int gxEnd, int gyEnd); 221 void newTimeSpanSelectedAllDay(int gxStart, int gyStart, int gxEnd, int gyEnd);
221 222
222 private: 223 private:
223 // view widgets 224 // view widgets
224 QFrame *mDayLabels; 225 QFrame *mDayLabels;
225 QHBox *mDayLabelsFrame; 226 QHBox *mDayLabelsFrame;
226 QBoxLayout *mLayoutDayLabels; 227 QBoxLayout *mLayoutDayLabels;
227 QFrame *mAllDayFrame; 228 QFrame *mAllDayFrame;
228 KOAgenda *mAllDayAgenda; 229 KOAgenda *mAllDayAgenda;
229 KOAgenda *mAgenda; 230 KOAgenda *mAgenda;
230 TimeLabels *mTimeLabels; 231 TimeLabels *mTimeLabels;
231 QWidget *mDummyAllDayLeft; 232 QWidget *mDummyAllDayLeft;
232 233
233 KDGanttMinimizeSplitter* mSplitterAgenda; 234 KDGanttMinimizeSplitter* mSplitterAgenda;
234 QPushButton *mExpandButton; 235 QPushButton *mExpandButton;
235 236
236 DateList mSelectedDates; // List of dates to be displayed 237 DateList mSelectedDates; // List of dates to be displayed
237 int mViewType; 238 int mViewType;
238 239
239 bool mWeekStartsMonday; 240 bool mWeekStartsMonday;
240 int mStartHour; 241 int mStartHour;
241 242
242 KOEventPopupMenu *mAgendaPopup; 243 KOEventPopupMenu *mAgendaPopup;
243 KOEventPopupMenu *mAllDayAgendaPopup; 244 KOEventPopupMenu *mAllDayAgendaPopup;
244 245
245 EventIndicator *mEventIndicatorTop; 246 EventIndicator *mEventIndicatorTop;
246 EventIndicator *mEventIndicatorBottom; 247 EventIndicator *mEventIndicatorBottom;
247 248
248 QMemArray<int> mMinY; 249 QMemArray<int> mMinY;
249 QMemArray<int> mMaxY; 250 QMemArray<int> mMaxY;
250 251
251 QMemArray<bool> mHolidayMask; 252 QMemArray<bool> mHolidayMask;
252 253
253 QPixmap mExpandedPixmap; 254 QPixmap mExpandedPixmap;
254 QPixmap mNotExpandedPixmap; 255 QPixmap mNotExpandedPixmap;
255 QPtrList<QLabel> mDayLabelsList; 256 QPtrList<QPushButton> mDayLabelsList;
256 QDateTime mTimeSpanBegin; 257 QDateTime mTimeSpanBegin;
257 QDateTime mTimeSpanEnd; 258 QDateTime mTimeSpanEnd;
258 bool mTimeSpanInAllDay; 259 bool mTimeSpanInAllDay;
259 void keyPressEvent ( QKeyEvent * e ); 260 void keyPressEvent ( QKeyEvent * e );
260}; 261};
261 262
262#endif // KOAGENDAVIEW_H 263#endif // KOAGENDAVIEW_H