MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / foreach

Function foreach

Service/ManagerPlugins.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18int CManagePlugins::LoadPlugins()
19{
20 foreach (QObject *plugin, QPluginLoader::staticInstances())
21 {
22 CPluginService* p = qobject_cast<CPluginService*>(plugin);
23 if(p)
24 m_Plugins.insert(p->Id(), p);
25 }
26
27 QString szPath = RabbitCommon::CDir::Instance()->GetDirPlugins()
28 + QDir::separator() + "Service";

Callers

nothing calls this directly

Calls 4

errorStringMethod · 0.80
IdMethod · 0.45
InitTranslatorMethod · 0.45
DescriptionMethod · 0.45

Tested by

no test coverage detected