MCPcopy Create free account
hub / github.com/KDAB/GammaRay / initFromJSON

Method initFromJSON

common/plugininfo.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void PluginInfo::initFromJSON(const QString &path)
138{
139 const QPluginLoader loader(path);
140 const QJsonObject metaData = loader.metaData();
141 initFromJSON(metaData);
142 m_path = path;
143}
144
145void PluginInfo::initFromJSON(const QJsonObject &metaData)
146{

Callers

nothing calls this directly

Calls 7

readLocalizedFunction · 0.85
reserveMethod · 0.80
metaDataMethod · 0.45
valueMethod · 0.45
sizeMethod · 0.45
constBeginMethod · 0.45
constEndMethod · 0.45

Tested by

no test coverage detected