diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-08-28 12:23:37 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-09-03 13:15:31 +0000 |
commit | c7e3bbcd118f4b7aec7f56f2e8301d91a418703d (patch) | |
tree | edc69ed3e0265048539c175bd040e1f6ce63cd68 /src/plugins/cpptools/cppprojectfile.h | |
parent | b4dd2ea2cc29458a4d5e5746da7707f88b81af25 (diff) | |
download | qt-creator-c7e3bbcd118f4b7aec7f56f2e8301d91a418703d.tar.gz |
CppTools: Remove dependency of RawProjectPart to ProjectFile
The feature to category files to ProjectFiles was used by the qmake
project manager to specify if the file is "active", and by the Qbs
project manager to avoid unnecessary MIME type checking.
Make these two different use-cases explicit in the API.
Change-Id: Ia5a7da37f100149366fc75060fe04687e15f2bd3
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppprojectfile.h')
-rw-r--r-- | src/plugins/cpptools/cppprojectfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppprojectfile.h b/src/plugins/cpptools/cppprojectfile.h index 4cfda1be49..942cf66f3b 100644 --- a/src/plugins/cpptools/cppprojectfile.h +++ b/src/plugins/cpptools/cppprojectfile.h @@ -50,6 +50,7 @@ public: OpenCLSource, }; + static Kind classifyByMimeType(const QString &mt); static Kind classify(const QString &filePath); static bool isSource(Kind kind); |