BEGIN
| 113 | |
| 114 | //BEGIN |
| 115 | ProjectFilterManager::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 | |
| 134 | ProjectFilterManager::~ProjectFilterManager() |
| 135 | { |
nothing calls this directly
no test coverage detected