rem: r->prefs()->setHost( GroupwiseConfig::self()->host() ); r->prefs()->setPort( GroupwiseConfig::self()->port() );
add: r->prefs()->setUrl( serverUrl() );
context:     void apply()    {      KCal::CalendarResourceManager m( "calendar" );      m.readConfig();      KCal::CalendarResourceManager::Iterator it;      for ( it = m.begin(); it != m.end(); ++it ) {        if ( (*it)->identifier() == GroupwiseConfig::kcalResource() ) {          KCal::ResourceGroupwise *r = static_cast<KCal::ResourceGroupwise *>( *it );          r->prefs()->setHost( GroupwiseConfig::self()->host() );          r->prefs()->setPort( GroupwiseConfig::self()->port() );          r->prefs()->setUser( GroupwiseConfig::self()->user() );          r->prefs()->setPassword( GroupwiseConfig::self()->password() );          r->setSavePolicy( KCal::ResourceCached::SaveDelayed );          r->setReloadPolicy( KCal::ResourceCached::ReloadInterval );          r->setReloadInterval( 20 );        }      }      m.writeConfig();    }