rem: msgDialog(klocale->translate("Could not open file:\n%s"), aFileName);
add: msgDialog(klocale->translate("Could not open file for writing:\n%s"), aFileName);
context: bool kStringToFile(const QString aBuffer, const char* aFileName, 		   bool aAskIfExists, bool aBackup=TRUE, bool aVerbose){  QFile file(aFileName);  int writeLen, len;  assert(aFileName!=NULL);  debug("WARNING: kStringToFile currently makes no backups and silently"	"replaces existing files!");  if (!file.open(IO_Raw|IO_WriteOnly))  {    if (aVerbose) switch(file.status())    {    case IO_WriteError:      msgDialog(klocale->translate("Could not write to file:\n%s"), aFileName);      break;    case IO_OpenError:      msgDialog(klocale->translate("Could not open file:\n%s"), aFileName);      break;    default:      msgDialog(klocale->translate("Error while reading file:\n%s"),aFileName);    }    return FALSE;  }  len = aBuffer.size()-1;  writeLen = file.writeBlock(aBuffer.data(), len);  if (writeLen < 0)   {    msgDialog(klocale->translate("Could not write to file:\n%s"), aFileName);    return FALSE;  }  else if (writeLen < len)  {    QString msg(256);    msg.sprintf(klocale->translate("Could only write %d bytes of %d."),		writeLen, len);    msgDialog(msg);    return FALSE;  }   return TRUE;}