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

Function displayName

kdevplatform/shell/loadedpluginsdialog.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37QString displayName(KDevelop::IPlugin* plugin)
38{
39 const auto name = pluginInfo(plugin).name();
40 return !name.isEmpty() ? name : plugin->componentName();
41}
42
43bool sortPlugins(KDevelop::IPlugin* l, KDevelop::IPlugin* r)
44{

Callers 2

sortPluginsFunction · 0.85
dataMethod · 0.85

Calls 4

pluginInfoFunction · 0.85
componentNameMethod · 0.80
nameMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected