MCPcopy Create free account
hub / github.com/KDE/kdevelop / updateSourceFormatterGuiClient

Method updateSourceFormatterGuiClient

kdevplatform/shell/mainwindow_p.cpp:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void MainWindowPrivate::updateSourceFormatterGuiClient(bool hasFormatters)
123{
124 auto sourceFormatterController = Core::self()->sourceFormatterControllerInternal();
125 auto guiFactory = m_mainWindow->guiFactory();
126 if (hasFormatters) {
127 guiFactory->addClient(sourceFormatterController);
128 } else {
129 guiFactory->removeClient(sourceFormatterController);
130 }
131}
132
133void MainWindowPrivate::activePartChanged(KParts::Part *part)
134{

Callers

nothing calls this directly

Calls 2

guiFactoryMethod · 0.80

Tested by

no test coverage detected