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

Function mimeTypeForUrl

kdevplatform/shell/partcontroller.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37{
38namespace {
39QString mimeTypeForUrl(const QUrl& url)
40{
41 Q_ASSERT(url.isValid());
42 Q_ASSERT(!url.isEmpty());
43 return QMimeDatabase().mimeTypeForUrl(url).name();
44}
45}
46
47class PartControllerPrivate

Callers 2

canCreatePartMethod · 0.85
createPartMethod · 0.85

Calls 3

isValidMethod · 0.45
isEmptyMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected