-rw-r--r-- | korganizer/koglobals.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/korganizer/koglobals.h b/korganizer/koglobals.h index 357ff5f..b3ff67b 100644 --- a/korganizer/koglobals.h +++ b/korganizer/koglobals.h | |||
@@ -22,38 +22,35 @@ | |||
22 | */ | 22 | */ |
23 | #ifndef KORG_GLOBALS_H | 23 | #ifndef KORG_GLOBALS_H |
24 | #define KORG_GLOBALS_H | 24 | #define KORG_GLOBALS_H |
25 | 25 | ||
26 | class KCalendarSystem; | 26 | class KCalendarSystem; |
27 | class AlarmClient; | 27 | class AlarmClient; |
28 | 28 | ||
29 | class KConfig; | 29 | class KConfig; |
30 | 30 | ||
31 | class KOGlobals | 31 | class KOGlobals |
32 | { | 32 | { |
33 | public: | 33 | public: |
34 | static KOGlobals *self(); | 34 | static KOGlobals *self(); |
35 | 35 | ||
36 | enum { EVENTADDED, EVENTEDITED, EVENTDELETED }; | 36 | enum { EVENTADDED, EVENTEDITED, EVENTDELETED }; |
37 | enum { PRIORITY_MODIFIED, COMPLETION_MODIFIED, CATEGORY_MODIFIED, UNKNOWN_MODIFIED }; | 37 | enum { PRIORITY_MODIFIED, COMPLETION_MODIFIED, CATEGORY_MODIFIED, UNKNOWN_MODIFIED }; |
38 | 38 | ||
39 | static void fitDialogToScreen( QWidget *widget, bool force=false ); | 39 | static void fitDialogToScreen( QWidget *widget, bool force=false ); |
40 | static KConfig *config(); | 40 | static KConfig *config(); |
41 | 41 | ||
42 | static bool reverseLayout(); | 42 | static bool reverseLayout(); |
43 | 43 | ||
44 | const KCalendarSystem *calendarSystem() const; | 44 | const KCalendarSystem *calendarSystem() const; |
45 | 45 | ||
46 | AlarmClient *alarmClient() const; | ||
47 | |||
48 | protected: | 46 | protected: |
49 | KOGlobals(); | 47 | KOGlobals(); |
50 | ~KOGlobals(); | 48 | ~KOGlobals(); |
51 | 49 | ||
52 | private: | 50 | private: |
53 | static KOGlobals *mSelf; | 51 | static KOGlobals *mSelf; |
54 | 52 | ||
55 | const KCalendarSystem *mCalendarSystem; | 53 | const KCalendarSystem *mCalendarSystem; |
56 | AlarmClient *mAlarmClient; | ||
57 | }; | 54 | }; |
58 | 55 | ||
59 | #endif | 56 | #endif |