Extending Qt Creator Manual | Project

Extending Qt Creator Manual 4.7.0

# Project Class

(Debugger::ProjectExplorer::Project)

The Project class implements a project node in the project explorer. More...

Header: | #include <Project>

- List of all members, including inherited members

## Protected Functions

void | addProjectLanguage(Core::Id id)
void | createTargetFromMap(const int &map, int index)
void | emitParsingFinished(bool success)
void | emitParsingStarted()
virtual Debugger::ProjectExplorer::Project::RestoreResult | fromMap(const int &map, Debugger::QString *errorMessage)
virtual void | projectLoaded()
void | removeProjectLanguage(Core::Id id)
void | setDisplayName(const Debugger::QString &name)
void | setId(Core::Id id)
void | setPreferredKitPredicate(const int &predicate)
void | setProjectLanguage(Core::Id id, bool enabled)
void | setProjectLanguages(Core::Context language)
void | setRootProjectNode(int &&root)
virtual bool | setupTarget(Debugger::ProjectExplorer::Target *t)

## Static Protected Members

int | createProjectTask(int, const Debugger::QString &)

## Detailed Description

The Project class implements a project node in the project explorer.

## Member Function Documentation

### `[protected]` void Project::addProjectLanguage(Core::Id id)

### `[static protected]` int Project::createProjectTask(int, const Debugger::QString &)

### `[protected]` void Project::createTargetFromMap(const int &map, int index)

### `[protected]` void Project::emitParsingFinished(bool success)

### `[protected]` void Project::emitParsingStarted()

### `[virtual protected]` Debugger::ProjectExplorer::Project::RestoreResult Project::fromMap(const int &map, Debugger::QString *errorMessage)

### `[virtual protected]` void Project::projectLoaded()

### `[protected]` void Project::removeProjectLanguage(Core::Id id)

### `[protected]` void Project::setDisplayName(const Debugger::QString &name)

### `[protected]` void Project::setId(Core::Id id)

### `[protected]` void Project::setPreferredKitPredicate(const int &predicate)

### `[protected]` void Project::setProjectLanguage(Core::Id id, bool enabled)

### `[protected]` void Project::setProjectLanguages(Core::Context language)

### `[protected]` void Project::setRootProjectNode(int &&root)

### `[virtual protected]` bool Project::setupTarget(Debugger::ProjectExplorer::Target *t)