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

CMake: Sprinkle overrides over CMakeProject

Change-Id: I28f9d533597c80e3dc4960c199d07eb1d6951490
Reviewed-by: default avatarCristian Adam <>
Reviewed-by: default avatarNiels Weber <>
Reviewed-by: default avatarTim Jenssen <>
parent 693b4234
...@@ -95,15 +95,15 @@ class CMAKE_EXPORT CMakeProject : public ProjectExplorer::Project ...@@ -95,15 +95,15 @@ class CMAKE_EXPORT CMakeProject : public ProjectExplorer::Project
friend class Internal::CMakeBuildSettingsWidget; friend class Internal::CMakeBuildSettingsWidget;
public: public:
CMakeProject(Internal::CMakeManager *manager, const Utils::FileName &filename); CMakeProject(Internal::CMakeManager *manager, const Utils::FileName &filename);
~CMakeProject(); ~CMakeProject() override;
QString displayName() const; QString displayName() const override;
Core::IDocument *document() const; Core::IDocument *document() const override;
ProjectExplorer::IProjectManager *projectManager() const; 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; QStringList buildTargetTitles(bool runnable = false) const;
QList<CMakeBuildTarget> buildTargets() const; QList<CMakeBuildTarget> buildTargets() const;
bool hasBuildTarget(const QString &title) const; bool hasBuildTarget(const QString &title) const;
...@@ -114,17 +114,17 @@ public: ...@@ -114,17 +114,17 @@ public:
bool parseCMakeLists(); bool parseCMakeLists();
bool needsConfiguration() const; bool needsConfiguration() const override;
bool requiresTargetPanel() const; bool requiresTargetPanel() const override;
signals: signals:
/// emitted after parsing /// emitted after parsing
void buildTargetsChanged(); void buildTargetsChanged();
protected: protected:
RestoreResult fromMap(const QVariantMap &map, QString *errorMessage); RestoreResult fromMap(const QVariantMap &map, QString *errorMessage) override;
bool setupTarget(ProjectExplorer::Target *t); bool setupTarget(ProjectExplorer::Target *t) override;
// called by CMakeBuildSettingsWidget // called by CMakeBuildSettingsWidget
void changeBuildDirectory(Internal::CMakeBuildConfiguration *bc, const QString &newBuildDirectory); 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