MCPcopy Create free account
hub / github.com/Atarity/Lightpack / startPluginManager

Method startPluginManager

Software/src/LightpackApplication.cpp:560–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560void LightpackApplication::startPluginManager()
561{
562 DEBUG_LOW_LEVEL << Q_FUNC_INFO;
563
564 m_pluginManager = new PluginsManager(NULL);
565
566 connect(this, SIGNAL(destroyed()),m_pluginManager, SLOT(StopPlugins()));
567
568 if (!m_noGui)
569 {
570 connect(m_settingsWindow,SIGNAL(reloadPlugins()),m_pluginManager,SLOT(reloadPlugins()));
571 connect(m_pluginManager,SIGNAL(updatePlugin(QList<Plugin*>)),m_settingsWindow,SLOT(updatePlugin(QList<Plugin*>)), Qt::QueuedConnection);
572 connect(m_pluginManager,SIGNAL(updatePlugin(QList<Plugin*>)),m_pluginInterface,SLOT(updatePlugin(QList<Plugin*>)), Qt::QueuedConnection);
573 }
574
575 m_pluginManager->LoadPlugins(QString(Settings::getApplicationDirPath() + "Plugins"));
576 m_pluginManager->StartPlugins();
577
578 //m_PluginThread = new QThread();
579 //m_pluginManager->moveToThread(m_PluginThread);
580 //m_PluginThread->start();
581
582}
583
584
585void LightpackApplication::initGrabManager()

Callers

nothing calls this directly

Calls 2

LoadPluginsMethod · 0.80
StartPluginsMethod · 0.80

Tested by

no test coverage detected