Commit e7b642eb authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Thomas Hartmann

NavigatorView: Cleanup ItemLibraryView

Change-Id: I9af564864fc91e494bed0e810d781bdacb8dddff
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent c2a6e33d
......@@ -155,40 +155,11 @@ void NavigatorView::importsChanged(const QList<Import> &/*addedImports*/, const
treeWidget()->update();
}
void NavigatorView::nodeCreated(const ModelNode & /*createdNode*/)
{
}
void NavigatorView::nodeRemoved(const ModelNode & /*removedNode*/, const NodeAbstractProperty & /*parentProperty*/, PropertyChangeFlags /*propertyChange*/)
{
}
void NavigatorView::propertiesRemoved(const QList<AbstractProperty> & /*propertyList*/)
{
}
void NavigatorView::variantPropertiesChanged(const QList<VariantProperty> & /*propertyList*/, PropertyChangeFlags /*propertyChange*/)
{
}
void NavigatorView::bindingPropertiesChanged(const QList<BindingProperty> & /*propertyList*/, PropertyChangeFlags /*propertyChange*/)
{
}
void NavigatorView::signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty> & /*propertyList*/,
AbstractView::PropertyChangeFlags /*propertyChange*/)
{
}
void NavigatorView::nodeAboutToBeRemoved(const ModelNode &removedNode)
{
m_treeModel->removeSubTree(removedNode);
}
void NavigatorView::nodeAboutToBeReparented(const ModelNode &/*node*/, const NodeAbstractProperty &/*newPropertyParent*/, const NodeAbstractProperty &/*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/)
{
}
void NavigatorView::nodeReparented(const ModelNode &node, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/)
{
bool blocked = blockSelectionChangedSignal(true);
......@@ -244,57 +215,6 @@ void NavigatorView::auxiliaryDataChanged(const ModelNode &modelNode, const Prope
}
}
void NavigatorView::scriptFunctionsChanged(const ModelNode &/*node*/, const QStringList &/*scriptFunctionList*/)
{
}
void NavigatorView::instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &/*propertyList*/)
{
}
void NavigatorView::instancesCompleted(const QVector<ModelNode> &/*completedNodeList*/)
{
}
void NavigatorView::instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &/*informationChangeHash*/)
{
}
void NavigatorView::instancesRenderImageChanged(const QVector<ModelNode> &/*nodeList*/)
{
}
void NavigatorView::instancesPreviewImageChanged(const QVector<ModelNode> &/*nodeList*/)
{
}
void NavigatorView::instancesChildrenChanged(const QVector<ModelNode> &/*nodeList*/)
{
}
void NavigatorView::nodeSourceChanged(const ModelNode &, const QString & /*newNodeSource*/)
{
}
void NavigatorView::rewriterBeginTransaction()
{
}
void NavigatorView::rewriterEndTransaction()
{
}
void NavigatorView::currentStateChanged(const ModelNode &/*node*/)
{
}
void NavigatorView::instancesToken(const QString &/*tokenName*/, int /*tokenNumber*/, const QVector<ModelNode> &/*nodeVector*/)
{
}
void NavigatorView::nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &node, int /*oldIndex*/)
{
if (m_treeModel->isInTree(node)) {
......
......@@ -63,17 +63,9 @@ public:
void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) override;
void nodeCreated(const ModelNode &createdNode) override;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) override;
void propertiesRemoved(const QList<AbstractProperty> &propertyList) override;
void variantPropertiesChanged(const QList<VariantProperty> &propertyList, PropertyChangeFlags propertyChange) override;
void bindingPropertiesChanged(const QList<BindingProperty> &propertyList, PropertyChangeFlags propertyChange) override;
void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList,PropertyChangeFlags propertyChange) override;
void nodeAboutToBeRemoved(const ModelNode &removedNode) override;
void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) override;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) override;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) override;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) override;
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) override;
......@@ -82,21 +74,6 @@ public:
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList ,
const QList<ModelNode> &lastSelectedNodeList) override;
void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) override;
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 nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) override;
void rewriterBeginTransaction() override;
void rewriterEndTransaction() override;
void currentStateChanged(const ModelNode &node) override;
void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) override;
private slots:
void changeSelection(const QItemSelection &selected, const QItemSelection &deselected);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment