MCPcopy Create free account
hub / github.com/KDAB/GammaRay / toolInfoForFactory

Method toolInfoForFactory

core/toolmanager.cpp:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110ToolData ToolManager::toolInfoForFactory(ToolFactory *factory) const
111{
112 ToolData info;
113 info.id = factory->id();
114 info.hasUi = !factory->isHidden();
115 info.enabled = !m_disabledTools.contains(factory);
116 return info;
117}
118
119bool ToolManager::hasTool(const QString &id) const
120{

Callers

nothing calls this directly

Calls 2

idMethod · 0.45
isHiddenMethod · 0.45

Tested by

no test coverage detected