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

Method unload

kdevplatform/shell/ktexteditorpluginintegration.cpp:745–755  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743Plugin::~Plugin() = default;
744
745void Plugin::unload()
746{
747 if (auto mainWindow = KTextEditor::Editor::instance()->application()->activeMainWindow()) {
748 auto integration = qobject_cast<MainWindow*>(mainWindow->parent());
749 if (integration) {
750 integration->removePluginView(pluginId());
751 }
752 }
753 m_tracker->deleteAll();
754 delete m_plugin;
755}
756
757KXMLGUIClient *Plugin::createGUIForMainWindow(Sublime::MainWindow* window)
758{

Callers 2

unloadPluginMethod · 0.45
testPluginUnloadMethod · 0.45

Calls 4

removePluginViewMethod · 0.80
activeMainWindowMethod · 0.45
parentMethod · 0.45
deleteAllMethod · 0.45

Tested by 1

testPluginUnloadMethod · 0.36