29 #include <libkcal/incidence.h>
32 #include <libkcal/resourcecalendar.h>
39 TQColor resourceColor = TQColor();
44 if ( calendarResource ) {
47 if( resourceCalendar ) {
48 TQString identifier = resourceCalendar->identifier();
49 resourceColor = *KOPrefs::instance()->resourceColor( identifier );
53 if ( identifier.isEmpty() )
54 identifier = resourceCalendar->identifier();
55 TQColor subrescolor( *KOPrefs::instance()->resourceColor( identifier ) );
56 if ( subrescolor.isValid() )
57 resourceColor = subrescolor;
|