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

Method ClientToolManager

ui/clienttoolmanager.cpp:158–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156ClientToolManager *ClientToolManager::s_instance = nullptr;
157
158ClientToolManager::ClientToolManager(QObject *parent)
159 : QObject(parent)
160 , m_parentWidget(nullptr)
161 , m_model(nullptr)
162 , m_selectionModel(nullptr)
163{
164 Q_ASSERT(!s_instance);
165 s_instance = this;
166
167 initPluginRepository();
168
169 connect(Endpoint::instance(), &Endpoint::disconnected, this, &ClientToolManager::clear);
170 connect(Endpoint::instance(), &Endpoint::connectionEstablished, this, &ClientToolManager::requestAvailableTools);
171}
172
173ClientToolManager::~ClientToolManager()
174{

Callers

nothing calls this directly

Calls 1

initPluginRepositoryFunction · 0.85

Tested by

no test coverage detected