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

Method initialize

kdevplatform/shell/languagecontroller.cpp:216–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214LanguageController::~LanguageController() = default;
215
216void LanguageController::initialize()
217{
218 Q_D(LanguageController);
219
220 d->languages = {};
221 d->languageCache = {};
222 d->mimeTypeCache = {};
223
224 d->backgroundParser->loadSettings();
225
226 delete d->staticAssistantsManager;
227 d->staticAssistantsManager = new StaticAssistantsManager(this);
228
229 d->m_cleanedUp = false;
230
231 // make sure the DUChain is setup before we try to access it from different threads at the same time
232 DUChain::self();
233}
234
235void LanguageController::cleanup()
236{

Callers

nothing calls this directly

Calls 1

loadSettingsMethod · 0.45

Tested by

no test coverage detected