| 190 | } |
| 191 | |
| 192 | void 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 | |
| 208 | void ClientToolManager::setToolParentWidget(QWidget *parent) |
| 209 | { |