rem: KCal::ResourceIMAP *r = new KCal::ResourceIMAP( "FIXME" );
add: QString server = KolabConfig::self()->server(); KCal::ResourceIMAP *r = new KCal::ResourceIMAP( server );
context:     void apply()    {      kdDebug() << "Create IMAP Resource" << endl;      KCal::CalendarResourceManager m( "calendar" );      m.readConfig();      KCal::ResourceIMAP *r = new KCal::ResourceIMAP( "FIXME" );      r->setResourceName( i18n("Kolab") );      m.add( r );      m.writeConfig();    }