Diffstat (limited to 'libkdepim/kpimglobalprefs.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libkdepim/kpimglobalprefs.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp index eb8f1de..12a503d 100644 --- a/libkdepim/kpimglobalprefs.cpp +++ b/libkdepim/kpimglobalprefs.cpp | |||
@@ -45,2 +45,23 @@ KPimGlobalPrefs::KPimGlobalPrefs( const QString &name ) | |||
45 | { | 45 | { |
46 | |||
47 | KPrefs::setCurrentGroup("Locale"); | ||
48 | addItemInt("PreferredLanguage",&mPreferredLanguage,0); | ||
49 | addItemInt("PreferredTime",&mPreferredTime,0); | ||
50 | addItemInt("PreferredDate",&mPreferredDate,0); | ||
51 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); | ||
52 | //addItemBool("QuickSavingWOUnicode",&mUseQuicksave,false); | ||
53 | // addItemBool("ShortDateInViewer",&mShortDateInViewer,false); | ||
54 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y"); | ||
55 | addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y"); | ||
56 | |||
57 | KPrefs::setCurrentGroup("Time & Date"); | ||
58 | |||
59 | addItemString("TimeZoneName",&mTimeZoneId,i18n ("+01:00 Europe/Oslo(CET)") ); | ||
60 | addItemBool("UseDaylightsaving",&mUseDaylightsaving,true); | ||
61 | addItemInt("DaylightsavingStart",&mDaylightsavingStart,90); | ||
62 | addItemInt("DaylightsavingEnd",&mDaylightsavingEnd,304); | ||
63 | |||
64 | |||
65 | |||
66 | |||
46 | KPrefs::setCurrentGroup( "ExternalApplications" ); | 67 | KPrefs::setCurrentGroup( "ExternalApplications" ); |