rem: kernel->action (mailto, checkMail, to, cc, bcc, subj, body, messageFile);
add: kernel->action (mailto, checkMail, to, cc, bcc, subj, body, messageFile, attachURL) ;
context: int KMailApplication::newInstance(){  QString to, cc, bcc, subj, body;  KURL messageFile = QString::null;  bool mailto = false;  bool checkMail = false;  //bool viewOnly = false;  // process args:  KCmdLineArgs *args = KCmdLineArgs::parsedArgs();  if (args->getOption("subject"))  {     mailto = true;     subj = args->getOption("subject");  }  if (args->getOption("cc"))  {     mailto = true;     cc = args->getOption("cc");  }  if (args->getOption("bcc"))  {     mailto = true;     bcc = args->getOption("bcc");  }  if (args->getOption("msg"))  {     mailto = true;     messageFile = QString::fromLocal8Bit(args->getOption("msg"));  }  if (args->getOption("body"))  {     mailto = true;     body = args->getOption("body");  }  if (args->isSet("composer"))    mailto = true;  if (args->isSet("check"))    checkMail = true;  for(int i= 0; i < args->count(); i++)  {    if (!to.isEmpty())      to += ", ";     if (strncasecmp(args->arg(i),"mailto:",7)==0)       to += args->arg(i);     else       to += args->arg(i);     mailto = true;  }  args->clear();  kernel->action (mailto, checkMail, to, cc, bcc, subj, body, messageFile);  return 0;}