Logo Search packages:      
Sourcecode: kdepim version File versions

QColor KDGanttView::defaultColor ( KDGanttViewItem::Type  type  )  const

Returns the default color for a particular type of Gantt item that is used for the item if no specific start, middle, or end colors are set.

type the type of Gantt items for which to query the highlight colors
color the default color used
See also:
setDefaultColor(), setColors(), colors()

Definition at line 2262 of file KDGanttView.cpp.

Referenced by saveXML().

  int index = getIndex( type );
  return myDefaultColor [index];

Generated by  Doxygen 1.6.0   Back to index