MCPcopy Create free account
hub / github.com/KDAB/KDChart / removeChild

Method removeChild

examples/Gantt/project/projectmodel.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void ProjectModel::Node::removeChild(Node *child)
163{
164 child->setParent(nullptr);
165 m_children.removeAll(child);
166}
167
168ProjectModel::ProjectModel(QObject *parent)
169 : QAbstractItemModel(parent)

Callers 1

~NodeMethod · 0.80

Calls 1

setParentMethod · 0.45

Tested by

no test coverage detected