Commit 234509a4 authored by Tobias Hunger's avatar Tobias Hunger

CMake: Sprinkle overrides over CMakeProject

Change-Id: I28f9d533597c80e3dc4960c199d07eb1d6951490
Reviewed-by: default avatarCristian Adam <cristian.adam@gmail.com>
Reviewed-by: default avatarNiels Weber <niels.weber@theqtcompany.com>
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 693b4234
......@@ -95,15 +95,15 @@ class CMAKE_EXPORT CMakeProject : public ProjectExplorer::Project
friend class Internal::CMakeBuildSettingsWidget;
public:
CMakeProject(Internal::CMakeManager *manager, const Utils::FileName &filename);
~CMakeProject();
~CMakeProject() override;
QString displayName() const;
Core::IDocument *document() const;
ProjectExplorer::IProjectManager *projectManager() const;
QString displayName() const override;
Core::IDocument *document() const override;
ProjectExplorer::IProjectManager *projectManager() const override;
ProjectExplorer::ProjectNode *rootProjectNode() const;
ProjectExplorer::ProjectNode *rootProjectNode() const override;
QStringList files(FilesMode fileMode) const;
QStringList files(FilesMode fileMode) const override;
QStringList buildTargetTitles(bool runnable = false) const;
QList<CMakeBuildTarget> buildTargets() const;
bool hasBuildTarget(const QString &title) const;
......@@ -114,17 +114,17 @@ public:
bool parseCMakeLists();
bool needsConfiguration() const;
bool needsConfiguration() const override;
bool requiresTargetPanel() const;
bool requiresTargetPanel() const override;
signals:
/// emitted after parsing
void buildTargetsChanged();
protected:
RestoreResult fromMap(const QVariantMap &map, QString *errorMessage);
bool setupTarget(ProjectExplorer::Target *t);
RestoreResult fromMap(const QVariantMap &map, QString *errorMessage) override;
bool setupTarget(ProjectExplorer::Target *t) override;
// called by CMakeBuildSettingsWidget
void changeBuildDirectory(Internal::CMakeBuildConfiguration *bc, const QString &newBuildDirectory);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment