示例#1
0
文件: repoApi.cpp 项目: nfrey/qreal
void RepoApi::removeChild(Id const &id, Id const &child)
{
	mClient.removeChild(id, child);
	addChangedDiagram(id.diagramId());
}
示例#2
0
文件: repoApi.cpp 项目: nfrey/qreal
void RepoApi::removeChildren(Id const &id)
{
	foreach (Id const child, children(id))
		removeChild(id, child);
	addChangedDiagram(id.diagramId());
}
示例#3
0
文件: repoApi.cpp 项目: nfrey/qreal
void RepoApi::setName(Id const &id, QString const &name)
{
	mClient.setProperty(id, "name", name);
	addChangedDiagram(id.diagramId());
}