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

Method ToolManager

core/toolmanager.cpp:39–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37using namespace GammaRay;
38
39ToolManager::ToolManager(QObject *parent)
40 : ToolManagerInterface(parent)
41 , m_toolPluginManager(new ToolPluginManager(this))
42{
43 // built-in tools
44 addToolFactory(new ObjectInspectorFactory(this));
45 addToolFactory(new ResourceBrowserFactory(this));
46 addToolFactory(new MetaObjectBrowserFactory(this));
47 addToolFactory(new MetaTypeBrowserFactory(this));
48 addToolFactory(new MessageHandlerFactory(this));
49 addToolFactory(new ProblemReporterFactory(this));
50
51 Q_FOREACH (ToolFactory *factory, m_toolPluginManager->plugins())
52 addToolFactory(factory);
53}
54
55void ToolManager::selectObject(const ObjectId &id, const QString &toolId)
56{

Callers

nothing calls this directly

Calls 2

pluginsMethod · 0.80
Q_FOREACHFunction · 0.50

Tested by

no test coverage detected