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

Function isSupportedMimeType

plugins/cppcheck/plugin.cpp:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209static
210bool isSupportedMimeType(const QMimeType& mimeType)
211{
212 const QString mimeName = mimeType.name();
213 return (mimeName == QLatin1String("text/x-c++src") ||
214 mimeName == QLatin1String("text/x-c++hdr") ||
215 mimeName == QLatin1String("text/x-chdr") ||
216 mimeName == QLatin1String("text/x-csrc"));
217}
218
219KDevelop::ContextMenuExtension Plugin::contextMenuExtension(KDevelop::Context* context, QWidget* parent)
220{

Callers 1

contextMenuExtensionMethod · 0.70

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected