rem: cfg->readEntry("accounts", QString("/.kde/mail-accounts"));
add: cfg->readEntry("accounts", QString("/.kde/share/apps/kmail/mail-accounts"));
context: static void init(int argc, char *argv[]){  QString  fname, trashName;  KConfig* cfg;  KMAcctFolder* fld;  app = new KApplication(argc, argv, "kmail");  nls = app->getLocale();  kbp = new KBusyPtr;  cfg = app->getConfig();  keys = new KShortCut(cfg);  oldMsgHandler = qInstallMsgHandler(kmailMsgHandler);  cfg->setGroup("General");  fname = QDir::homeDirPath() +     cfg->readEntry("accounts", QString("/.kde/mail-accounts"));  acctMgr = new KMAcctMgr(fname);  fname = QDir::homeDirPath() +     cfg->readEntry("folders", QString("/.kde/mail-folders"));  folderMgr = new KMFolderMgr(fname);  trashName   = cfg->readEntry("trashFolder", QString("trash"));  fld = folderMgr->find(trashName);  if (!fld)  {    warning(nls->translate("The folder `%s'\ndoes not exist in the\n"			   "mail folder directory\nbut will be created now."),	    (const char*)trashName);    fld = folderMgr->createFolder(trashName, TRUE);    if (!fld) fatal(nls->translate("Cannot create trash folder '%s'"),		    (const char*)trashName);  }  fld->setLabel(nls->translate("trash"));  trashFolder = (KMFolder*)fld;  trashFolder->setAutoCreateToc(FALSE);  trashFolder->open(); // otherwise we have to open/close the folder for                       // each and every delete.  msgSender = new KMSender(folderMgr);}