diff options
author | hjk <[email protected]> | 2020-06-26 13:59:38 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2020-07-06 06:07:13 +0000 |
commit | 430a33dcd9ac80ddb848e41f8f059102857c88aa (patch) | |
tree | 9af1619701306a6bad6a06645091f2d3b2838e9c /src/plugins/cmakeprojectmanager/cmaketool.h | |
parent | 492439262079dcf1d5c503208b905be8c82a694b (diff) |
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now.
Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmaketool.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmaketool.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmaketool.h b/src/plugins/cmakeprojectmanager/cmaketool.h index c22a07fb7f0..12a71c546ca 100644 --- a/src/plugins/cmakeprojectmanager/cmaketool.h +++ b/src/plugins/cmakeprojectmanager/cmaketool.h @@ -27,10 +27,10 @@ #include "cmake_global.h" -#include <coreplugin/id.h> #include <texteditor/codeassist/keywordscompletionassist.h> #include <utils/fileutils.h> +#include <utils/id.h> #include <utils/optional.h> #include <utils/synchronousprocess.h> @@ -74,15 +74,15 @@ public: using PathMapper = std::function<Utils::FilePath (const Utils::FilePath &)>; - explicit CMakeTool(Detection d, const Core::Id &id); + explicit CMakeTool(Detection d, const Utils::Id &id); explicit CMakeTool(const QVariantMap &map, bool fromSdk); ~CMakeTool(); - static Core::Id createId(); + static Utils::Id createId(); bool isValid() const; - Core::Id id() const { return m_id; } + Utils::Id id() const { return m_id; } QVariantMap toMap () const; void setAutorun(bool autoRun); @@ -123,7 +123,7 @@ private: void fetchFromCapabilities() const; void parseFromCapabilities(const QString &input) const; - Core::Id m_id; + Utils::Id m_id; QString m_displayName; Utils::FilePath m_executable; Utils::FilePath m_qchFilePath; |