26 #ifndef _KOCOREHELPER_H
27 #define _KOCOREHELPER_H
30 #include "korganizer/corehelper.h"
32 #include "koglobals.h"
35 class KCalendarSystem;
37 class KOCoreHelper : public KOrg::CoreHelper
41 virtual ~KOCoreHelper() {}
43 virtual TQColor textColor( const TQColor &bgColor ) { return getTextColor( bgColor ); }
44 virtual TQColor categoryColor( const TQStringList &cats );
45 virtual TQString holidayString( const TQDate &dt );
46 virtual TQTime dayStart() { return KOPrefs::instance()->mDayBegins.time(); }
47 virtual const KCalendarSystem *calendarSystem() { return KOGlobals::self()->calendarSystem(); }
48 virtual KOrg::PrintPlugin::List loadPrintPlugins() { return KOCore::self()->loadPrintPlugins(); }
49 virtual bool isWorkingDay( const TQDate &dt ) { return KOGlobals::self()->isWorkDay( dt ); }
|