rem: i18n( "Enter the default reminder time for incidences " "here." ) );
add: i18n( "Enter the default reminder time here." ) );
context:     KOPrefsDialogTime( QWidget *parent, const char *name )      : KPrefsModule( KOPrefs::instance(), parent, name )    {      QBoxLayout *topTopLayout = new QVBoxLayout( this );      QWidget *topFrame = new QWidget( this );      topTopLayout->addWidget( topFrame );      QGridLayout *topLayout = new QGridLayout(topFrame,6,2);      topLayout->setSpacing( KDialog::spacingHint() );      QHBox *timeZoneBox = new QHBox( topFrame );      topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 );      QLabel *timeZoneLabel = new QLabel( i18n("Timezone:"), timeZoneBox );      QString whatsThis = i18n( "Select your timezone from the list of "                                "locations on this drop down box. If your city "                                "is not listed, select one which shares the "                                "same timezone. KOrganizer will automatically "                                "adjust for daylight savings." );      QWhatsThis::add( timeZoneLabel, whatsThis );      mTimeZoneCombo = new QComboBox( timeZoneBox );      connect( mTimeZoneCombo, SIGNAL( activated( int ) ),               SLOT( slotWidChanged() ) );      FILE *f;      char tempstring[101] = "Unknown";      QString sCurrentlySet(i18n("Unknown"));      int nCurrentlySet = 0;      QStringList list;      // read the currently set time zone    #if defined(USE_SOLARIS)       // MARCO        char buf[MAXPATHLEN];        snprintf(buf, MAXPATHLEN,                "/bin/fgrep 'TZ=' %s | /bin/head -n 1 | /bin/cut -b 4-",                INITFILE);        if (f = popen(buf, "r"))          {           if (fgets(buf, MAXPATHLEN - 1, f) != NULL)             {               buf[strlen(buf) - 1] = '\0';               sCurrentlySet = QString(buf);             }           pclose(f);          }    #else      if((f = fopen("/etc/timezone", "r")) != NULL) {        // get the currently set timezone        fgets(tempstring, 100, f);        tempstring[strlen(tempstring) - 1] = '\0';        sCurrentlySet = QString(tempstring);        fclose(f);      }    #endif // !USE_SOLARIS      mTimeZoneCombo->insertItem(i18n("[No selection]"));      // Read all system time zones    #if defined(USE_SOLARIS)       // MARCO        snprintf(buf, MAXPATHLEN,               "/bin/find %s \\( -name src -prune \\) -o -type f -print | /bin/cut -b %d-",               ZONEINFODIR, strlen(ZONEINFODIR) + 2);        if (f = popen(buf, "r"))          {           while(fgets(buf, MAXPATHLEN - 1, f) != NULL)             {               buf[strlen(buf) - 1] = '\0';               list.append(buf);             }           pclose(f);          }    #else      f = popen("grep -e  ^[^#] /usr/share/zoneinfo/zone.tab | cut -f 3","r");      if (!f) return;      while(fgets(tempstring, 100, f) != NULL) {        tempstring[strlen(tempstring)-1] = '\0';        list.append(i18n(tempstring));        tzonenames << tempstring;      }      pclose(f);    #endif // !USE_SOLARIS      list.sort();      mTimeZoneCombo->insertStringList(list);        // find the currently set time zone and select it      for ( int i = 0; i < mTimeZoneCombo->count(); ++i )        {          if (mTimeZoneCombo->text(i) == sCurrentlySet)            {             nCurrentlySet = i;             break;            }        }      mTimeZoneCombo->setCurrentItem(nCurrentlySet);      QWhatsThis::add( mTimeZoneCombo, whatsThis );      // holiday region selection      QHBox *holidayRegBox = new QHBox( topFrame );      topLayout->addMultiCellWidget( holidayRegBox, 1, 1, 0, 1 );      QLabel *holidayLabel = new QLabel( i18n( "Use holiday region:" ), holidayRegBox );      whatsThis = i18n( "Select from which region you want to use the "                        "holidays here. Defined holidays are shown as "                        "non-working days in the date navigator, the "                        "agenda view, etc." );      QWhatsThis::add( holidayLabel, whatsThis );      mHolidayCombo = new QComboBox( holidayRegBox );      connect( mHolidayCombo, SIGNAL( activated( int ) ),               SLOT( slotWidChanged() ) );      QWhatsThis::add( mHolidayCombo, whatsThis );      QString currentHolidayName;      QStringList holidayList;      QStringList countryList = KHolidays::locations();      QStringList::ConstIterator it;      for ( it = countryList.begin(); it != countryList.end(); ++it ) {        QString countryFile = locate( "locale",                                      "l10n/" + (*it) + "/entry.desktop" );        QString regionName;        if ( !countryFile.isEmpty() ) {          KSimpleConfig cfg( countryFile );          cfg.setGroup( "KCM Locale" );          regionName = cfg.readEntry( "Name" );        }        if (regionName.isEmpty()) regionName = (*it);        holidayList << regionName;        mRegionMap[regionName] = (*it); //store region for saving to config file        if ( KOGlobals::self()->holidays()             && ((*it) == KOGlobals::self()->holidays()->location()) )          currentHolidayName = regionName;      }      holidayList.sort();      holidayList.push_front( i18n("(None)") );  //be able to disable holidays      mHolidayCombo->insertStringList(holidayList);      for (int i=0; i < mHolidayCombo->count(); ++i) {        if ( mHolidayCombo->text(i) == currentHolidayName ) {          mHolidayCombo->setCurrentItem(i);          break;        }      }      KPrefsWidTime *dayBegins =        addWidTime( KOPrefs::instance()->dayBeginsItem(), topFrame );      topLayout->addWidget( dayBegins->label(), 2, 0 );      topLayout->addWidget( dayBegins->timeEdit(), 2, 1 );      KPrefsWidTime *defaultTime =        addWidTime( KOPrefs::instance()->startTimeItem(), topFrame );      topLayout->addWidget( defaultTime->label(), 3, 0);      topLayout->addWidget( defaultTime->timeEdit(), 3, 1);      KPrefsWidDuration *defaultDuration =        addWidDuration( KOPrefs::instance()->defaultDurationItem(), topFrame );      topLayout->addWidget( defaultDuration->label(), 4, 0 );      topLayout->addWidget( defaultDuration->timeEdit(), 4, 1 );      QStringList alarmList;      alarmList << i18n( "1 minute" ) << i18n( "5 minutes" )                << i18n( "10 minutes" ) << i18n( "15 minutes" )                << i18n( "30 minutes" );      QLabel *alarmLabel = new QLabel( i18n( "Default reminder time:" ), topFrame);      topLayout->addWidget( alarmLabel, 5, 0 );      QWhatsThis::add( alarmLabel,                       i18n( "Enter the default reminder time for incidences "                             "here." ) );      mAlarmTimeCombo = new QComboBox( topFrame );      QWhatsThis::add( mAlarmTimeCombo,                       i18n( "Enter the default reminder time for incidences "                             "here." ) );      connect( mAlarmTimeCombo, SIGNAL( activated( int ) ),               SLOT( slotWidChanged() ) );      mAlarmTimeCombo->insertStringList( alarmList );      topLayout->addWidget( mAlarmTimeCombo, 5, 1 );      QGroupBox *workingHoursGroup = new QGroupBox(1,Horizontal,                                                   i18n("Working Hours"),                                                   topFrame);      topLayout->addMultiCellWidget( workingHoursGroup, 6, 6, 0, 1 );      QHBox *workDaysBox = new QHBox( workingHoursGroup );      // Respect start of week setting      int weekStart=KGlobal::locale()->weekStartDay();      for ( int i = 0; i < 7; ++i ) {        const KCalendarSystem *calSys = KOGlobals::self()->calendarSystem();        QString weekDayName = calSys->weekDayName( (i + weekStart + 6)%7 + 1, true );        if ( KOPrefs::instance()->mCompactDialogs ) {          weekDayName = weekDayName.left( 1 );        }        int index = ( i + weekStart + 6 ) % 7;        mWorkDays[ index ] = new QCheckBox( weekDayName, workDaysBox );        QWhatsThis::add( mWorkDays[ index ],                         i18n( "Check this box to make KOrganizer mark the "                               "working hours for this day of the week. "                               "If this is a work day for you, check "                               "this box, or the working hours will not be "                               "marked with color." ) );        connect( mWorkDays[ index ], SIGNAL( stateChanged( int ) ),               SLOT( slotWidChanged() ) );      }      QHBox *workStartBox = new QHBox(workingHoursGroup);      addWidTime( KOPrefs::instance()->workingHoursStartItem(), workStartBox );      QHBox *workEndBox = new QHBox(workingHoursGroup);      addWidTime( KOPrefs::instance()->workingHoursEndItem(), workEndBox );      addWidBool( KOPrefs::instance()->excludeHolidaysItem(),                  workingHoursGroup );      topLayout->setRowStretch(7,1);      load();    }