author | zautrix <zautrix> | 2005-07-05 10:58:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-05 10:58:25 (UTC) |
commit | ea75d46072630883fae6ededd4af1d3c427ff59f (patch) (unidiff) | |
tree | 60c96620f59441cf0ff998e7e4edd5b2bc8007d9 /microkde | |
parent | 7e49703511de87f624cc8813b18ebbfcc01752cd (diff) | |
download | kdepimpi-ea75d46072630883fae6ededd4af1d3c427ff59f.zip kdepimpi-ea75d46072630883fae6ededd4af1d3c427ff59f.tar.gz kdepimpi-ea75d46072630883fae6ededd4af1d3c427ff59f.tar.bz2 |
fixx
-rw-r--r-- | microkde/kglobalsettings.cpp | 9 | ||||
-rw-r--r-- | microkde/kglobalsettings.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/microkde/kglobalsettings.cpp b/microkde/kglobalsettings.cpp index 3f8a630..2e483e9 100644 --- a/microkde/kglobalsettings.cpp +++ b/microkde/kglobalsettings.cpp | |||
@@ -63,6 +63,15 @@ QString KGlobalSettings::backupDataDir() | |||
63 | } | 63 | } |
64 | return dir; | 64 | return dir; |
65 | } | 65 | } |
66 | QString KGlobalSettings::calendarDir() | ||
67 | { | ||
68 | static QString dir; | ||
69 | if ( dir.isEmpty() ) { | ||
70 | dir = locateLocal( "data", "korganizer/d.ttl" ); | ||
71 | dir = dir.left ( dir.length() - 5); | ||
72 | } | ||
73 | return dir; | ||
74 | } | ||
66 | 75 | ||
67 | QFont KGlobalSettings::toolBarFont() | 76 | QFont KGlobalSettings::toolBarFont() |
68 | { | 77 | { |
diff --git a/microkde/kglobalsettings.h b/microkde/kglobalsettings.h index 4e4d87c..977e5b6 100644 --- a/microkde/kglobalsettings.h +++ b/microkde/kglobalsettings.h | |||
@@ -22,6 +22,7 @@ class KGlobalSettings | |||
22 | static QRect desktopGeometry( QWidget * ); | 22 | static QRect desktopGeometry( QWidget * ); |
23 | static QString timeTrackerDir(); | 23 | static QString timeTrackerDir(); |
24 | static QString backupDataDir(); | 24 | static QString backupDataDir(); |
25 | static QString calendarDir(); | ||
25 | 26 | ||
26 | /** | 27 | /** |
27 | * Returns whether KDE runs in single (default) or double click | 28 | * Returns whether KDE runs in single (default) or double click |