diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qmldesigner/components/integration/designdocumentview.cpp | 80 | ||||
-rw-r--r-- | src/plugins/qmldesigner/components/integration/designdocumentview.h | 41 |
2 files changed, 0 insertions, 121 deletions
diff --git a/src/plugins/qmldesigner/components/integration/designdocumentview.cpp b/src/plugins/qmldesigner/components/integration/designdocumentview.cpp index b7e0189299..9217f90884 100644 --- a/src/plugins/qmldesigner/components/integration/designdocumentview.cpp +++ b/src/plugins/qmldesigner/components/integration/designdocumentview.cpp @@ -49,86 +49,6 @@ DesignDocumentView::~DesignDocumentView() { } -void DesignDocumentView::nodeCreated(const ModelNode & /*createdNode*/) {} -void DesignDocumentView::nodeAboutToBeRemoved(const ModelNode & /*removedNode*/) {} -void DesignDocumentView::nodeRemoved(const ModelNode & /*removedNode*/, const NodeAbstractProperty & /*parentProperty*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {} -void DesignDocumentView::nodeAboutToBeReparented(const ModelNode & /*node*/, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {} -void DesignDocumentView::nodeReparented(const ModelNode & /*node*/, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {} -void DesignDocumentView::nodeIdChanged(const ModelNode& /*node*/, const QString& /*newId*/, const QString& /*oldId*/) {} -void DesignDocumentView::propertiesAboutToBeRemoved(const QList<AbstractProperty>& /*propertyList*/) {} -void DesignDocumentView::propertiesRemoved(const QList<AbstractProperty>& /*propertyList*/) {} -void DesignDocumentView::variantPropertiesChanged(const QList<VariantProperty>& /*propertyList*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {} -void DesignDocumentView::bindingPropertiesChanged(const QList<BindingProperty>& /*propertyList*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {} -void DesignDocumentView::signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty> & /*propertyList*/, - AbstractView::PropertyChangeFlags /*propertyChange*/) -{} -void DesignDocumentView::rootNodeTypeChanged(const QString & /*type*/, int /*majorVersion*/, int /*minorVersion*/) {} - -void DesignDocumentView::selectedNodesChanged(const QList<ModelNode> & /*selectedNodeList*/, - const QList<ModelNode> & /*lastSelectedNodeList*/) {} - -void DesignDocumentView::nodeOrderChanged(const NodeListProperty & /*listProperty*/, const ModelNode & /*movedNode*/, int /*oldIndex*/) {} - -void DesignDocumentView::scriptFunctionsChanged(const ModelNode &/*node*/, const QStringList &/*scriptFunctionList*/) -{ -} - -void DesignDocumentView::instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &/*propertyList*/) -{ -} - -void DesignDocumentView::instancesCompleted(const QVector<ModelNode> &/*completedNodeList*/) -{ - -} -void DesignDocumentView::instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &/*informationChangeHash*/) -{ - -} - -void DesignDocumentView::instancesRenderImageChanged(const QVector<ModelNode> &/*nodeList*/) -{ - -} - -void DesignDocumentView::instancesPreviewImageChanged(const QVector<ModelNode> &/*nodeList*/) -{ - -} - -void DesignDocumentView::instancesChildrenChanged(const QVector<ModelNode> &/*nodeList*/) -{ - -} - -void DesignDocumentView::instancesToken(const QString &/*tokenName*/, int /*tokenNumber*/, const QVector<ModelNode> &/*nodeVector*/) -{ - -} - -void DesignDocumentView::nodeSourceChanged(const ModelNode &, const QString & /*newNodeSource*/) -{ - -} - -void DesignDocumentView::rewriterBeginTransaction() -{ - -} - -void DesignDocumentView::rewriterEndTransaction() -{ -} - -void DesignDocumentView::currentStateChanged(const ModelNode &/*node*/) -{ -} - -void DesignDocumentView::importsChanged(const QList<Import> &/*addedImports*/, const QList<Import> &/*removedImports*/) -{ - -} - static QStringList arrayToStringList(const QByteArray &byteArray) { QString str(QString::fromUtf8(byteArray)); diff --git a/src/plugins/qmldesigner/components/integration/designdocumentview.h b/src/plugins/qmldesigner/components/integration/designdocumentview.h index 20ac42191b..4af84e64a1 100644 --- a/src/plugins/qmldesigner/components/integration/designdocumentview.h +++ b/src/plugins/qmldesigner/components/integration/designdocumentview.h @@ -43,47 +43,6 @@ public: DesignDocumentView(QObject *parent = 0); ~DesignDocumentView(); - virtual void nodeCreated(const ModelNode &createdNode) override; - virtual void nodeAboutToBeRemoved(const ModelNode &removedNode) override; - virtual void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) override; - virtual void nodeAboutToBeReparented(const ModelNode &node, - const NodeAbstractProperty &newPropertyParent, - const NodeAbstractProperty &oldPropertyParent, - AbstractView::PropertyChangeFlags propertyChange) override; - virtual void nodeReparented(const ModelNode &node, - const NodeAbstractProperty &newPropertyParent, - const NodeAbstractProperty &oldPropertyParent, - AbstractView::PropertyChangeFlags propertyChange) override; - virtual void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) override; - virtual void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) override; - virtual void propertiesRemoved(const QList<AbstractProperty>& propertyList) override; - virtual void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) override; - virtual void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) override; - virtual void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) override; - virtual void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) override; - - virtual void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, - const QList<ModelNode> &lastSelectedNodeList) override; - - virtual void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) override; - virtual void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) override; - void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override; - void instancesCompleted(const QVector<ModelNode> &completedNodeList) override; - void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) override; - void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) override; - void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) override; - void instancesChildrenChanged(const QVector<ModelNode> &nodeList) override; - void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) override; - - void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) override; - - void rewriterBeginTransaction(); - void rewriterEndTransaction(); - - void currentStateChanged(const ModelNode &node) override; - - void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) override; - ModelNode insertModel(const ModelNode &modelNode) { return m_modelMerger.insertModel(modelNode); } void replaceModel(const ModelNode &modelNode) |