KPlato::GanttViewSummaryItem Class Reference

#include <kptcanvasitem.h>

Inherits KPlato::ItemBase.

Inheritance diagram for KPlato::GanttViewSummaryItem:

[legend]
List of all members.

Public Member Functions

 GanttViewSummaryItem (KDGanttView *parent, Node *node)
 GanttViewSummaryItem (KDGanttViewItem *parent, Node *node)
NodegetNode ()
void insertRelations (GanttView *view)
KDGanttViewItem * find (Node *node)
KDGanttViewItem * find (KDGanttViewItem *item, Node *node)
KDGanttView * ganttView () const
bool isDrawn () const
void setDrawn (bool drawn)

Protected Attributes

Nodem_node
KDGanttView * m_view
bool m_drawn

Detailed Description

Definition at line 55 of file kptcanvasitem.h.


Constructor & Destructor Documentation

KPlato::GanttViewSummaryItem::GanttViewSummaryItem ( KDGanttView *  parent,
Node node 
)

Definition at line 58 of file kptcanvasitem.cc.

KPlato::GanttViewSummaryItem::GanttViewSummaryItem ( KDGanttViewItem *  parent,
Node node 
)

Definition at line 67 of file kptcanvasitem.cc.

References ganttView(), m_drawn, and m_view.


Member Function Documentation

Node* KPlato::GanttViewSummaryItem::getNode (  )  [inline]

Definition at line 61 of file kptcanvasitem.h.

References m_node.

void KPlato::GanttViewSummaryItem::insertRelations ( GanttView view  ) 

Definition at line 80 of file kptcanvasitem.cc.

References KPlato::GanttView::addTaskLink(), KPlato::Relation::child(), KPlato::Node::dependChildNodes(), find(), KPlato::Duration::Format_i18nDayTime, KPlato::ItemBase::kdLinkType(), KPlato::Relation::lag(), m_node, m_view, KPlato::Duration::toString(), KPlato::Relation::type(), and KPlato::Duration::zeroDuration.

Referenced by KPlato::GanttView::drawRelations().

KDGanttViewItem * KPlato::GanttViewSummaryItem::find ( Node node  ) 

Definition at line 102 of file kptcanvasitem.cc.

References m_node.

Referenced by insertRelations().

KDGanttViewItem * KPlato::GanttViewSummaryItem::find ( KDGanttViewItem *  item,
Node node 
)

Definition at line 116 of file kptcanvasitem.cc.

KDGanttView* KPlato::GanttViewSummaryItem::ganttView (  )  const [inline]

Definition at line 65 of file kptcanvasitem.h.

References m_view.

Referenced by KPlato::GanttViewEventItem::GanttViewEventItem(), GanttViewSummaryItem(), and KPlato::GanttViewTaskItem::GanttViewTaskItem().

bool KPlato::GanttViewSummaryItem::isDrawn (  )  const [inline]

Definition at line 66 of file kptcanvasitem.h.

References m_drawn.

void KPlato::GanttViewSummaryItem::setDrawn ( bool  drawn  )  [inline]

Definition at line 67 of file kptcanvasitem.h.

References m_drawn.


Member Data Documentation

Node* KPlato::GanttViewSummaryItem::m_node [protected]

Definition at line 70 of file kptcanvasitem.h.

Referenced by find(), getNode(), and insertRelations().

KDGanttView* KPlato::GanttViewSummaryItem::m_view [protected]

Definition at line 71 of file kptcanvasitem.h.

Referenced by ganttView(), GanttViewSummaryItem(), and insertRelations().

bool KPlato::GanttViewSummaryItem::m_drawn [protected]

Definition at line 72 of file kptcanvasitem.h.

Referenced by GanttViewSummaryItem(), isDrawn(), and setDrawn().


The documentation for this class was generated from the following files:
Generated on Wed Nov 22 23:21:44 2006 for KPlato by  doxygen 1.5.1-p1