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

Method requestAvailableTools

ui/clienttoolmanager.cpp:192–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void ClientToolManager::requestAvailableTools()
193{
194 m_remote = ObjectBroker::object<ToolManagerInterface *>();
195
196 connect(m_remote.data(), &ToolManagerInterface::availableToolsResponse,
197 this, &ClientToolManager::gotTools);
198 connect(m_remote.data(), &ToolManagerInterface::toolEnabled,
199 this, &ClientToolManager::toolGotEnabled);
200 connect(m_remote.data(), &ToolManagerInterface::toolSelected,
201 this, &ClientToolManager::toolGotSelected);
202 connect(m_remote.data(), &ToolManagerInterface::toolsForObjectResponse,
203 this, &ClientToolManager::toolsForObjectReceived);
204
205 m_remote->requestAvailableTools();
206}
207
208void ClientToolManager::setToolParentWidget(QWidget *parent)
209{

Callers 1

MainWindowMethod · 0.45

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected