rem: KCal::CalendarResourceManager m( "calendar" );
add: KRES::Manager<KABC::Resource> m( "contact" );
context:     void apply()    {      #if 0      KCal::CalendarResourceManager m( "calendar" );      m.readConfig();      KURL url( exchangeUrl() );      KCal::ResourceExchange *r = new KCal::ResourceExchange( new KConfig );// url );      r->setResourceName( i18n("Exchange Server") );      r->prefs()->setUser( ExchangeConfig::self()->user() );      r->prefs()->setPassword( ExchangeConfig::self()->password() );      r->setSavePolicy( KCal::ResourceCached::SaveDelayed );      r->setReloadPolicy( KCal::ResourceCached::ReloadInterval );      r->setReloadInterval( 20 );      m.add( r );      m.writeConfig();            ExchangeConfig::self()->setKcalResource( r->identifier() );      #endif    }