rem: debug("init done");
context: static void init(int argc, char *argv[]){  QString  fname, trashName;  KConfig* cfg;  app = new KApplication(argc, argv, "kmail");  nls = new KLocale;  kbp = new KBusyPtr(app);  cfg = app->getConfig();  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"));  trashFolder = folderMgr->find(trashName);  if (!trashFolder)  {    warning("The folder `"+trashName+"' does not exist in the\n"	    "mail folder directory and therefore will now be created.");    trashFolder = folderMgr->createFolder(trashName);    if (!trashFolder) fatal("Cannot create trash folder '"+trashName+"'");  }  msgSender = new KMSender(folderMgr);  debug("init done");}