summaryrefslogtreecommitdiffabout
path: root/microkde/kglobalsettings.cpp
authorzautrix <zautrix>2005-07-05 10:58:25 (UTC)
committer zautrix <zautrix>2005-07-05 10:58:25 (UTC)
commitea75d46072630883fae6ededd4af1d3c427ff59f (patch) (side-by-side diff)
tree60c96620f59441cf0ff998e7e4edd5b2bc8007d9 /microkde/kglobalsettings.cpp
parent7e49703511de87f624cc8813b18ebbfcc01752cd (diff)
downloadkdepimpi-ea75d46072630883fae6ededd4af1d3c427ff59f.zip
kdepimpi-ea75d46072630883fae6ededd4af1d3c427ff59f.tar.gz
kdepimpi-ea75d46072630883fae6ededd4af1d3c427ff59f.tar.bz2
fixx
Diffstat (limited to 'microkde/kglobalsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kglobalsettings.cpp9
1 files changed, 9 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
@@ -65,2 +65,11 @@ QString KGlobalSettings::backupDataDir()
}
+QString KGlobalSettings::calendarDir()
+{
+ static QString dir;
+ if ( dir.isEmpty() ) {
+ dir = locateLocal( "data", "korganizer/d.ttl" );
+ dir = dir.left ( dir.length() - 5);
+ }
+ return dir;
+}