rem: KOPrefs::instance()->mHourSize = mHourSizeSlider->value(); KOPrefs::instance()->mNextXDays = mNextXDaysSpin->value();
add: QStringList::Iterator tz; for (tz = tzonenames.begin(); tz != tzonenames.end(); tz++) if (mTimeZoneCombo->currentText() == i18n((*tz).utf8())) break; if (tz != tzonenames.end()) KOPrefs::instance()->mTimeZoneId = (*tz); else KOPrefs::instance()->mTimeZoneId = mTimeZoneCombo->currentText();  KOPrefs::instance()->mStartTime = mStartTimeSpin->value(); KOPrefs::instance()->mDefaultDuration = mDefaultDurationSpin->value(); KOPrefs::instance()->mAlarmTime = mAlarmTimeCombo->currentItem();
context:     void usrWriteConfig()    {      KOPrefs::instance()->mHourSize = mHourSizeSlider->value();      KOPrefs::instance()->mNextXDays = mNextXDaysSpin->value();    }