MCPcopy Create free account
hub / github.com/KDE/kdevelop / isSupportedMimeType

Function isSupportedMimeType

plugins/compileanalyzercommon/compileanalyzer.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44{
45
46bool isSupportedMimeType(const QMimeType& mimeType)
47{
48 const QString mime = mimeType.name();
49 return (mime == QLatin1String("text/x-c++src") || mime == QLatin1String("text/x-csrc"));
50}
51
52CompileAnalyzer::CompileAnalyzer(IPlugin* plugin,
53 const QString& toolName, const QString& toolIconName,

Callers 2

updateActionsMethod · 0.70

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected