| 120 | } |
| 121 | |
| 122 | void 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 | |
| 133 | void MainWindowPrivate::activePartChanged(KParts::Part *part) |
| 134 | { |
nothing calls this directly
no test coverage detected