korganizer
KOHelper Class Reference
List of all members.Detailed Description
Definition at line 35 of file kohelper.h.
Static Public Member Functions | |
| static QColor | resourceColor (KCal::Calendar *calendar, KCal::Incidence *incidence) |
| static QString | resourceLabel (KCal::Calendar *calendar, KCal::Incidence *incidence) |
Member Function Documentation
| QColor KOHelper::resourceColor | ( | KCal::Calendar * | calendar, | |
| KCal::Incidence * | incidence | |||
| ) | [static] |
This method returns the proper resource / subresource color for the view.
- Returns:
- The resource color for the incidence. If the incidence belongs to a subresource, the color for the subresource is returned (if set).
Definition at line 37 of file kohelper.cpp.
| QString KOHelper::resourceLabel | ( | KCal::Calendar * | calendar, | |
| KCal::Incidence * | incidence | |||
| ) | [static] |
Returns the resource label the given incidence belongs to.
Definition at line 66 of file kohelper.cpp.
The documentation for this class was generated from the following files:

