MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / getObjectByName

Method getObjectByName

lib/extensionsystem/pluginmanager.cpp:1436–1445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1434*/
1435
1436QObject *PluginManager::getObjectByName(const QString &name)
1437{
1438 QReadLocker lock(&d->m_lock);
1439 QList<QObject *> all = allObjects();
1440 foreach (QObject *obj, all) {
1441 if (obj->objectName() == name)
1442 return obj;
1443 }
1444 return 0;
1445}
1446
1447/*!
1448 Retrieves one object inheriting a class with \a className from the object

Callers 1

mathjax-sre.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected