void TestView::nodeAboutToBeRemoved(const QmlDesigner::ModelNode &removedNode) { QmlDesigner::QmlModelView::nodeAboutToBeRemoved(removedNode); m_methodCalls += MethodCall("nodeAboutToBeRemoved", QStringList() << removedNode.id()); }
void TestView::nodeCreated(const QmlDesigner::ModelNode &createdNode) { QmlDesigner::QmlModelView::nodeCreated(createdNode); m_methodCalls += MethodCall("nodeCreated", QStringList() << createdNode.id()); }
void TestView::nodeOrderChanged(const QmlDesigner::NodeListProperty &listProperty, const QmlDesigner::ModelNode &movedNode, int oldIndex) { QmlDesigner::QmlModelView::nodeOrderChanged(listProperty, movedNode, oldIndex); m_methodCalls += MethodCall("nodeOrderChanged", QStringList() << listProperty.name() << movedNode.id() << QString::number(oldIndex)); }
void TestView::nodeIdChanged(const QmlDesigner::ModelNode &node, const QString& newId, const QString &oldId) { QmlDesigner::QmlModelView::nodeIdChanged(node, newId, oldId); m_methodCalls += MethodCall("nodeIdChanged", QStringList() << node.id() << newId << oldId); }
void TestView::nodeReparented(const QmlDesigner::ModelNode & node, const QmlDesigner::NodeAbstractProperty &newPropertyParent, const QmlDesigner::NodeAbstractProperty & oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) { QmlDesigner::QmlModelView::nodeReparented(node, newPropertyParent, oldPropertyParent, propertyChange); m_methodCalls += MethodCall("nodeReparented", QStringList() << node.id() << newPropertyParent.name() << oldPropertyParent.name() << serialize(propertyChange)); }