diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-01-29 18:15:08 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-02-17 12:41:09 +0000 |
commit | 365c1ddb903ebb8f183195244669499a300431d2 (patch) | |
tree | 134a792432245e1db1f215aa08744393f9a2fdfa /src/plugins/texteditor/generichighlighter/manager.h | |
parent | 013e10fda8bc65281df32fc1fda7886b79dd394a (diff) |
MimeDatabase: Add bestMatch(fileName, listOfMimeTypesToCheck) method.
The use case is Qt Creator's C++ model / project parts, where the files
of the projects are sorted into C/C++/Objective-C++ Header/Source
categories, so we only want to know if a file has one of these 6 mime
types.
Change-Id: Ia600fa34beb8dfd2fb406c04b2f36e6ab6b25730
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/manager.h')
0 files changed, 0 insertions, 0 deletions