MCPcopy Create free account
hub / github.com/Robotips/uConfig / addComponent

Method addComponent

src/kicad/itemmodel/componentlibitemmodel.cpp:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void ComponentLibItemModel::addComponent(Component *component)
53{
54 emit layoutAboutToBeChanged();
55 beginResetModel();
56 resetInternalData();
57 _lib->addComponent(component);
58 endResetModel();
59 emit layoutChanged();
60}
61
62QList<Component *> ComponentLibItemModel::components() const
63{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected