23 #ifndef KORG_GLOBALS_H 24 #define KORG_GLOBALS_H 26 #include <tdepimmacros.h> 32 class KCalendarSystem; 39 class KDE_EXPORT KOGlobals 42 static KOGlobals * self(); 59 COMPLETION_MODIFIED_WITH_RECURRENCE, 60 RECURRENCE_MODIFIED_ONE_ONLY, 61 RECURRENCE_MODIFIED_ALL_FUTURE, 66 enum WhichOccurrences { 73 enum OccurrenceAction { 79 static void fitDialogToScreen( TQWidget *widget, bool force= false ); 80 TDEConfig *config() const; 82 static bool reverseLayout(); 84 const KCalendarSystem *calendarSystem() const; 86 AlarmClient *alarmClient() const; 90 TQPixmap smallIcon( const TQString& name ); 91 TQIconSet smallIconSet( const TQString& name, int size = 0 ); 93 TQStringList holiday( const TQDate & ); 94 bool isWorkDay( const TQDate & ); 95 int getWorkWeekMask(); 101 void setHolidays( KHolidays *h ); 105 KHolidays *holidays() const; 111 static KOGlobals *mSelf; 113 TDEInstance *mOwnInstance; 115 AlarmClient *mAlarmClient; 117 KHolidays *mHolidays;
|