Logo Search packages:      
Sourcecode: kdepim version File versions

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

Returns the default highlighting 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 highlighting color used
See also:
setDefaultHighlightColor(), setHighlightColors(), highlightColors()

Definition at line 2308 of file KDGanttView.cpp.

Referenced by saveXML().

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

Generated by  Doxygen 1.6.0   Back to index