void NavigatorView::propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) { foreach (const AbstractProperty &property, propertyList) { if (property.isNodeAbstractProperty()) { NodeAbstractProperty nodeAbstractProperty(property.toNodeListProperty()); foreach (const ModelNode &childNode, nodeAbstractProperty.directSubNodes()) { m_treeModel->removeSubTree(childNode); } } }
NodeAbstractProperty ModelNode::defaultNodeAbstractProperty() const { return nodeAbstractProperty(metaInfo().defaultPropertyName()); }