code: @Override
    public String[] getOutputFileNames(final String inputFile, final VersionInfo versionInfo) {
      if (inputFile.endsWith(".cpp")) {
        return super.getOutputFileNames(inputFile, versionInfo);
      }
      //
      // if a recognized input file
      //
      final String baseName = getBaseOutputName(inputFile);
      return new String[] {
        "moc_" + baseName + ".cpp"
      };
    }
docs: Gets output file names.
  
  @param inputFile
  String input file name
  @param versionInfo
  version info, not used by this compiler.
  @return String[] output file names