19 #ifndef KORG_TIMELINEITEM_H
20 #define KORG_TIMELINEITEM_H
22 #define private protected
23 #include <kdgantt/KDGanttViewTaskItem.h>
27 #include <tqvaluelist.h>
30 class KDCanvasPolygon;
34 class ResourceCalendar;
40 class TimelineSubItem;
42 class TimelineItem : public KDGanttViewTaskItem
45 TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView* parent );
48 const TQDateTime &start = TQDateTime(),
49 const TQDateTime &end = TQDateTime() );
56 TQMap<KCal::Incidence*, TQValueList<TimelineSubItem*> > mItemMap;
59 class TimelineSubItem : public KDGanttViewTaskItem
67 TQDateTime originalStart() const { return mStart; }
68 void setOriginalStart( const TQDateTime &dt ) { mStart = dt; }
71 void showItem( bool show = true, int coordY = 0 );
76 KDCanvasPolygon *mLeft, *mRight;
|