Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
{
38
namespace {
39
QString mimeTypeForUrl(const QUrl& url)
40
{
41
Q_ASSERT(url.isValid());
42
Q_ASSERT(!url.isEmpty());
43
return QMimeDatabase().mimeTypeForUrl(url).name();
44
}
45
}
46
47
class PartControllerPrivate
Callers
2
canCreatePart
Method · 0.85
createPart
Method · 0.85
Calls
3
isValid
Method · 0.45
isEmpty
Method · 0.45
name
Method · 0.45
Tested by
no test coverage detected