korganizer
corehelper.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KORG_COREHELPER_H
00024 #define KORG_COREHELPER_H
00025
00026 #include <qstring.h>
00027 #include <qdatetime.h>
00028 #include <qcolor.h>
00029 #include "printplugin.h"
00030
00031 class KCalendarSytstem;
00032
00033 namespace KOrg {
00034
00035 class CoreHelper
00036 {
00037 public:
00038 CoreHelper() {}
00039 virtual ~CoreHelper() {}
00040
00041 virtual QColor defaultEventColor() = 0;
00042 virtual QColor textColor( const QColor &bgColor ) = 0;
00043 virtual QColor categoryColor( const QStringList &cats ) = 0;
00044 virtual QString holidayString( const QDate &dt ) = 0;
00045 virtual QTime dayStart() = 0;
00046 virtual const KCalendarSystem *calendarSystem() = 0;
00047 virtual KOrg::PrintPlugin::List loadPrintPlugins() = 0;
00048 virtual bool isWorkingDay( const QDate &dt ) = 0;
00049 };
00050
00051 }
00052 #endif
|