Extending Qt Creator Manual | JsonWizardGenerator

Extending Qt Creator Manual 4.5.2

# JsonWizardGenerator Class

(ProjectExplorer::JsonWizardGenerator)

- List of all members, including inherited members

## Public Types

enum | OverwriteResult { OverwriteOk, OverwriteError, OverwriteCanceled }

## Public Functions

virtual | ~JsonWizardGenerator()
virtual bool | allDone(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)
virtual bool | canKeepExistingFiles() const
virtual Core::GeneratedFiles | fileList(Utils::MacroExpander *expander, const QString &baseDir, const QString &projectDir, QString *errorMessage) = 0
virtual bool | formatFile(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)
virtual bool | polish(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)
virtual bool | postWrite(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)
virtual bool | writeFile(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)

## Static Public Members

bool | allDone(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)
bool | formatFiles(const JsonWizard *wizard, QList<JsonWizard::GeneratorFile> *files, QString *errorMessage)
bool | polish(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)
bool | postWrite(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)
OverwriteResult | promptForOverwrite(JsonWizard::GeneratorFiles *files, QString *errorMessage)
bool | writeFiles(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)

## Member Type Documentation

### enum JsonWizardGenerator::OverwriteResult

## Member Function Documentation

### `[virtual]` JsonWizardGenerator::~JsonWizardGenerator()

Destroys the instance of JsonWizardGenerator. The destructor is virtual.

### `[virtual]` bool JsonWizardGenerator::allDone(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)

### `[static]` bool JsonWizardGenerator::allDone(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)

### `[virtual]` bool JsonWizardGenerator::canKeepExistingFiles() const

### `[pure virtual]` Core::GeneratedFiles JsonWizardGenerator::fileList(Utils::MacroExpander *expander, const QString &baseDir, const QString &projectDir, QString *errorMessage)

### `[virtual]` bool JsonWizardGenerator::formatFile(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)

### `[static]` bool JsonWizardGenerator::formatFiles(const JsonWizard *wizard, QList<JsonWizard::GeneratorFile> *files, QString *errorMessage)

### `[virtual]` bool JsonWizardGenerator::polish(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)

### `[static]` bool JsonWizardGenerator::polish(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)

### `[virtual]` bool JsonWizardGenerator::postWrite(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)

### `[static]` bool JsonWizardGenerator::postWrite(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)

### `[static]` OverwriteResult JsonWizardGenerator::promptForOverwrite(JsonWizard::GeneratorFiles *files, QString *errorMessage)

### `[virtual]` bool JsonWizardGenerator::writeFile(const JsonWizard *wizard, Core::GeneratedFile *file, QString *errorMessage)

### `[static]` bool JsonWizardGenerator::writeFiles(const JsonWizard *wizard, JsonWizard::GeneratorFiles *files, QString *errorMessage)