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

Method ProjectFilterManager

kdevplatform/project/projectfiltermanager.cpp:115–132  ·  view source on GitHub ↗

BEGIN

Source from the content-addressed store, hash-verified

113
114//BEGIN
115ProjectFilterManager::ProjectFilterManager(QObject* parent)
116 : QObject(parent)
117 , d_ptr(new ProjectFilterManagerPrivate)
118{
119 Q_D(ProjectFilterManager);
120
121 d->q = this;
122
123 connect(ICore::self()->pluginController(), &IPluginController::pluginLoaded,
124 this, [this] (IPlugin* plugin) { Q_D(ProjectFilterManager);d->pluginLoaded(plugin); });
125 connect(ICore::self()->pluginController(), &IPluginController::unloadingPlugin,
126 this, [this] (IPlugin* plugin) { Q_D(ProjectFilterManager);d->unloadingPlugin(plugin); });
127
128 const auto plugins = ICore::self()->pluginController()->loadedPlugins();
129 for (IPlugin* plugin : plugins) {
130 d->pluginLoaded(plugin);
131 }
132}
133
134ProjectFilterManager::~ProjectFilterManager()
135{

Callers

nothing calls this directly

Calls 4

pluginControllerMethod · 0.80
pluginLoadedMethod · 0.45
unloadingPluginMethod · 0.45
loadedPluginsMethod · 0.45

Tested by

no test coverage detected