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

Method ProxyToolFactory

core/proxytoolfactory.cpp:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16using namespace GammaRay;
17
18ProxyToolFactory::ProxyToolFactory(const PluginInfo &pluginInfo, QObject *parent)
19 : ProxyFactory<ToolFactory>(pluginInfo, parent)
20{
21 const QStringList typesList = pluginInfo.supportedTypes();
22 QVector<QByteArray> typesVector;
23 typesVector.reserve(typesList.size());
24 for (auto it = typesList.constBegin(), end = typesList.constEnd(); it != end; ++it)
25 typesVector << (*it).toLatin1();
26 setSupportedTypes(typesVector);
27}
28
29bool ProxyToolFactory::isValid() const
30{

Callers

nothing calls this directly

Calls 5

reserveMethod · 0.80
supportedTypesMethod · 0.45
sizeMethod · 0.45
constBeginMethod · 0.45
constEndMethod · 0.45

Tested by

no test coverage detected