QFile f;qApp->translate("QIODevice", f.errorString().toAscii().constData());
switch (errorCode) { case 0: break; case EACCES: s = QT_TRANSLATE_NOOP("QIODevice", "Permission denied"); break; case EMFILE: s = QT_TRANSLATE_NOOP("QIODevice", "Too many open files"); break; case ENOENT: s = QT_TRANSLATE_NOOP("QIODevice", "No such file or directory"); break; case ENOSPC: s = QT_TRANSLATE_NOOP("QIODevice", "No space left on device"); break;
if (s) // ######## this breaks moc build currently// ret = QCoreApplication::translate("QIODevice", s); ret = QString::fromLatin1(s);