diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-09-13 11:44:43 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-09-13 11:32:31 +0000 |
commit | 1df553a68308c7be274fe95890f063ef367a2674 (patch) | |
tree | 2b6e41b429bd3232d8b86d258d8a963c4fef07dd /src/plugins/projectexplorer/headerpath.h | |
parent | 292cc7c8161617626ccb230d46889f49a65770bf (diff) |
ProjectExplorer: Rename IncludePathType to HeaderPathType
It is the type used by the HeaderPath class, so reflect that in
the name.
I also considered to rename HeaderPath to IncludePath, but
that name is reflected in a lot of users, which would also need
to be adjusted for consistency. That would blow up the patch size
for little value IMHO.
Change-Id: I51421dbd3ab8b2874dc32fc82dc394c9b93ce5e9
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/headerpath.h')
-rw-r--r-- | src/plugins/projectexplorer/headerpath.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/headerpath.h b/src/plugins/projectexplorer/headerpath.h index 59ecf92b87..db0bb4cc1f 100644 --- a/src/plugins/projectexplorer/headerpath.h +++ b/src/plugins/projectexplorer/headerpath.h @@ -30,7 +30,7 @@ namespace ProjectExplorer { -enum class IncludePathType { +enum class HeaderPathType { Invalid, User, System, @@ -41,18 +41,18 @@ class HeaderPath { public: HeaderPath() = default; - HeaderPath(const QString &path, IncludePathType type) + HeaderPath(const QString &path, HeaderPathType type) : path(path), type(type) { } bool isValid() const { - return type != IncludePathType::Invalid; + return type != HeaderPathType::Invalid; } bool isFrameworkPath() const { - return type == IncludePathType::Framework; + return type == HeaderPathType::Framework; } bool operator==(const HeaderPath &other) const @@ -66,7 +66,7 @@ public: } QString path; - IncludePathType type = IncludePathType::Invalid; + HeaderPathType type = HeaderPathType::Invalid; }; inline uint qHash(const HeaderPath &key, uint seed = 0) |