void RepoApi::removeChild(Id const &id, Id const &child) { mClient.removeChild(id, child); addChangedDiagram(id.diagramId()); }
void RepoApi::removeChildren(Id const &id) { foreach (Id const child, children(id)) removeChild(id, child); addChangedDiagram(id.diagramId()); }
void RepoApi::setName(Id const &id, QString const &name) { mClient.setProperty(id, "name", name); addChangedDiagram(id.diagramId()); }