Commit 45ccbf41 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner: make use of QTC_OVERRIDE in views



Change-Id: I9f421b471c3211420a059181e23977fca237d7c5
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 81341a86
...@@ -58,27 +58,27 @@ public: ...@@ -58,27 +58,27 @@ public:
DesignerActionManagerView() : QmlModelView(0), m_isInRewriterTransaction(false), m_setupContextDirty(false) DesignerActionManagerView() : QmlModelView(0), m_isInRewriterTransaction(false), m_setupContextDirty(false)
{} {}
void modelAttached(Model *model) void modelAttached(Model *model) QTC_OVERRIDE
{ {
QmlModelView::modelAttached(model); QmlModelView::modelAttached(model);
setupContext(); setupContext();
} }
void modelAboutToBeDetached(Model *model) void modelAboutToBeDetached(Model *model) QTC_OVERRIDE
{ {
QmlModelView::modelAboutToBeDetached(model); QmlModelView::modelAboutToBeDetached(model);
setupContext(); setupContext();
} }
virtual void nodeCreated(const ModelNode &) virtual void nodeCreated(const ModelNode &) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void nodeAboutToBeRemoved(const ModelNode &) virtual void nodeAboutToBeRemoved(const ModelNode &) QTC_OVERRIDE
{} {}
virtual void nodeRemoved(const ModelNode &, const NodeAbstractProperty &, PropertyChangeFlags) virtual void nodeRemoved(const ModelNode &, const NodeAbstractProperty &, PropertyChangeFlags) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
...@@ -86,70 +86,70 @@ public: ...@@ -86,70 +86,70 @@ public:
virtual void nodeAboutToBeReparented(const ModelNode &, virtual void nodeAboutToBeReparented(const ModelNode &,
const NodeAbstractProperty &, const NodeAbstractProperty &,
const NodeAbstractProperty &, const NodeAbstractProperty &,
AbstractView::PropertyChangeFlags ) AbstractView::PropertyChangeFlags ) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void nodeReparented(const ModelNode &, const NodeAbstractProperty &, virtual void nodeReparented(const ModelNode &, const NodeAbstractProperty &,
const NodeAbstractProperty &, const NodeAbstractProperty &,
AbstractView::PropertyChangeFlags) AbstractView::PropertyChangeFlags) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void nodeIdChanged(const ModelNode&, const QString&, const QString&) virtual void nodeIdChanged(const ModelNode&, const QString&, const QString&) QTC_OVERRIDE
{} {}
virtual void propertiesAboutToBeRemoved(const QList<AbstractProperty>&) virtual void propertiesAboutToBeRemoved(const QList<AbstractProperty>&) QTC_OVERRIDE
{} {}
virtual void propertiesRemoved(const QList<AbstractProperty>&) virtual void propertiesRemoved(const QList<AbstractProperty>&) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void variantPropertiesChanged(const QList<VariantProperty>&, PropertyChangeFlags) virtual void variantPropertiesChanged(const QList<VariantProperty>&, PropertyChangeFlags) QTC_OVERRIDE
{} {}
virtual void bindingPropertiesChanged(const QList<BindingProperty>&, PropertyChangeFlags) virtual void bindingPropertiesChanged(const QList<BindingProperty>&, PropertyChangeFlags) QTC_OVERRIDE
{} {}
virtual void rootNodeTypeChanged(const QString &, int , int ) virtual void rootNodeTypeChanged(const QString &, int , int ) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &) virtual void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &) QTC_OVERRIDE
{} {}
virtual void instancesCompleted(const QVector<ModelNode> &) virtual void instancesCompleted(const QVector<ModelNode> &) QTC_OVERRIDE
{} {}
virtual void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &) virtual void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &) QTC_OVERRIDE
{} {}
virtual void instancesRenderImageChanged(const QVector<ModelNode> &) virtual void instancesRenderImageChanged(const QVector<ModelNode> &) QTC_OVERRIDE
{} {}
virtual void instancesPreviewImageChanged(const QVector<ModelNode> &) virtual void instancesPreviewImageChanged(const QVector<ModelNode> &) QTC_OVERRIDE
{} {}
virtual void instancesChildrenChanged(const QVector<ModelNode> &) virtual void instancesChildrenChanged(const QVector<ModelNode> &) QTC_OVERRIDE
{} {}
virtual void instancesToken(const QString &, int , const QVector<ModelNode> &) virtual void instancesToken(const QString &, int , const QVector<ModelNode> &) QTC_OVERRIDE
{} {}
virtual void nodeSourceChanged(const ModelNode &, const QString &) virtual void nodeSourceChanged(const ModelNode &, const QString &) QTC_OVERRIDE
{} {}
virtual void rewriterBeginTransaction() virtual void rewriterBeginTransaction() QTC_OVERRIDE
{ {
m_isInRewriterTransaction = true; m_isInRewriterTransaction = true;
} }
virtual void rewriterEndTransaction() virtual void rewriterEndTransaction() QTC_OVERRIDE
{ {
m_isInRewriterTransaction = false; m_isInRewriterTransaction = false;
...@@ -157,28 +157,28 @@ public: ...@@ -157,28 +157,28 @@ public:
setupContext(); setupContext();
} }
virtual void actualStateChanged(const ModelNode &) virtual void actualStateChanged(const ModelNode &) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void selectedNodesChanged(const QList<ModelNode> &, virtual void selectedNodesChanged(const QList<ModelNode> &,
const QList<ModelNode> &) const QList<ModelNode> &) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void nodeOrderChanged(const NodeListProperty &, const ModelNode &, int ) virtual void nodeOrderChanged(const NodeListProperty &, const ModelNode &, int ) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void importsChanged(const QList<Import> &, const QList<Import> &) virtual void importsChanged(const QList<Import> &, const QList<Import> &) QTC_OVERRIDE
{ {
setupContext(); setupContext();
} }
virtual void scriptFunctionsChanged(const ModelNode &, const QStringList &) virtual void scriptFunctionsChanged(const ModelNode &, const QStringList &) QTC_OVERRIDE
{} {}
void setDesignerActionList(const QList<AbstractDesignerAction* > &designerActionList) void setDesignerActionList(const QList<AbstractDesignerAction* > &designerActionList)
...@@ -186,7 +186,7 @@ public: ...@@ -186,7 +186,7 @@ public:
m_designerActionList = designerActionList; m_designerActionList = designerActionList;
} }
QWidget *widget() QWidget *widget() QTC_OVERRIDE
{ {
return 0; return 0;
} }
......
...@@ -65,28 +65,28 @@ public: ...@@ -65,28 +65,28 @@ public:
~FormEditorView(); ~FormEditorView();
// AbstractView // AbstractView
void modelAttached(Model *model); void modelAttached(Model *model) QTC_OVERRIDE;
void modelAboutToBeDetached(Model *model); void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports); void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
void nodeCreated(const ModelNode &createdNode); void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
void nodeAboutToBeRemoved(const ModelNode &removedNode); void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange); void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId); void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList); void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange); void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange); void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion); void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
const QList<ModelNode> &lastSelectedNodeList); const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList); void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
void propertiesRemoved(const QList<AbstractProperty> &propertyList); void propertiesRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
// FormEditorView // FormEditorView
QWidget *widget(); QWidget *widget() QTC_OVERRIDE;
WidgetInfo widgetInfo(); WidgetInfo widgetInfo() QTC_OVERRIDE;
FormEditorWidget *formEditorWidget(); FormEditorWidget *formEditorWidget();
AbstractFormEditorTool *currentTool() const; AbstractFormEditorTool *currentTool() const;
...@@ -100,27 +100,28 @@ public: ...@@ -100,27 +100,28 @@ public:
void changeToResizeTool(); void changeToResizeTool();
void changeToTransformTools(); void changeToTransformTools();
void registerTool(AbstractFormEditorTool *tool); void registerTool(AbstractFormEditorTool *tool);
void nodeSlidedToIndex(const NodeListProperty &listProperty, int newIndex, int oldIndex); void nodeSlidedToIndex(const NodeListProperty &listProperty, int newIndex, int oldIndex);
void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data); void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
void instancesCompleted(const QVector<ModelNode> &completedNodeList); void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash); void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
void instancesRenderImageChanged(const QVector<ModelNode> &nodeList); void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList); void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancesChildrenChanged(const QVector<ModelNode> &nodeList); void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList); void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector); void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
void rewriterBeginTransaction(); void rewriterBeginTransaction() QTC_OVERRIDE;
void rewriterEndTransaction(); void rewriterEndTransaction() QTC_OVERRIDE;
double margins() const; double margins() const;
double spacing() const; double spacing() const;
void deActivateItemCreator(); void deActivateItemCreator();
void actualStateChanged(const ModelNode &node); void actualStateChanged(const ModelNode &node) QTC_OVERRIDE;
protected: protected:
void reset(); void reset();
......
...@@ -56,50 +56,58 @@ public: ...@@ -56,50 +56,58 @@ public:
ComponentView(QObject *parent = 0); ComponentView(QObject *parent = 0);
void modelAttached(Model *model); void modelAttached(Model *model) QTC_OVERRIDE;
void modelAboutToBeDetached(Model *model); void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
ComponentAction *action(); ComponentAction *action();
void nodeCreated(const ModelNode &createdNode); void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
void nodeAboutToBeRemoved(const ModelNode &removedNode); void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange); void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty,
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange); PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange); void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId); const NodeAbstractProperty &oldPropertyParent,
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList); AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void propertiesRemoved(const QList<AbstractProperty>& propertyList); void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange); const NodeAbstractProperty &oldPropertyParent,
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange); AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion); void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList); void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList); void propertiesRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
void instancesCompleted(const QVector<ModelNode> &completedNodeList); void variantPropertiesChanged(const QList<VariantProperty>& propertyList,
void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &/*informationChangeHash*/); PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void instancesRenderImageChanged(const QVector<ModelNode> &nodeList); void bindingPropertiesChanged(const QList<BindingProperty>& propertyList,
void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList); PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void instancesChildrenChanged(const QVector<ModelNode> &nodeList); void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector); void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource); void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
void rewriterBeginTransaction(); void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void rewriterEndTransaction(); void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void actualStateChanged(const ModelNode &node); void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
void rewriterBeginTransaction() QTC_OVERRIDE;
void rewriterEndTransaction() QTC_OVERRIDE;
void actualStateChanged(const ModelNode &node) QTC_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
const QList<ModelNode> &lastSelectedNodeList); const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl); void fileUrlChanged(const QUrl &oldUrl, const QUrl &newUrl) QTC_OVERRIDE;
void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex); void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data); void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data); void customNotification(const AbstractView *view, const QString &identifier,
const QList<ModelNode> &nodeList, const QList<QVariant> &data) QTC_OVERRIDE;
void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports); void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
QStandardItemModel *standardItemModel() const; QStandardItemModel *standardItemModel() const;
......
...@@ -48,49 +48,56 @@ public: ...@@ -48,49 +48,56 @@ public:
ItemLibraryView(QObject* parent = 0); ItemLibraryView(QObject* parent = 0);
~ItemLibraryView(); ~ItemLibraryView();
QWidget *widget(); QWidget *widget() QTC_OVERRIDE;
bool hasWidget() const; bool hasWidget() const QTC_OVERRIDE;
WidgetInfo widgetInfo(); WidgetInfo widgetInfo() QTC_OVERRIDE;
// AbstractView // AbstractView
void modelAttached(Model *model); void modelAttached(Model *model) QTC_OVERRIDE;
void modelAboutToBeDetached(Model *model); void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;
void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports); void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) QTC_OVERRIDE;
void nodeCreated(const ModelNode &createdNode); void nodeCreated(const ModelNode &createdNode) QTC_OVERRIDE;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange); void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty,
void propertiesRemoved(const QList<AbstractProperty> &propertyList); PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void variantPropertiesChanged(const QList<VariantProperty> &propertyList, PropertyChangeFlags propertyChange); void propertiesRemoved(const QList<AbstractProperty> &propertyList) QTC_OVERRIDE;
void bindingPropertiesChanged(const QList<BindingProperty> &propertyList, PropertyChangeFlags propertyChange); void variantPropertiesChanged(const QList<VariantProperty> &propertyList,
PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void nodeAboutToBeRemoved(const ModelNode &removedNode); void bindingPropertiesChanged(const QList<BindingProperty> &propertyList,
void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex); PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange); void nodeAboutToBeRemoved(const ModelNode &removedNode) QTC_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange); void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) QTC_OVERRIDE;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion);
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId); void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList); const NodeAbstractProperty &oldPropertyParent,
AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent,
AbstractView::PropertyChangeFlags propertyChange) QTC_OVERRIDE;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) QTC_OVERRIDE;
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) QTC_OVERRIDE;
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) QTC_OVERRIDE;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
const QList<ModelNode> &lastSelectedNodeList); const QList<ModelNode> &lastSelectedNodeList) QTC_OVERRIDE;
void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data); void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) QTC_OVERRIDE;
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList); void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) QTC_OVERRIDE;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList); void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) QTC_OVERRIDE;
void instancesCompleted(const QVector<ModelNode> &completedNodeList); void instancesCompleted(const QVector<ModelNode> &completedNodeList) QTC_OVERRIDE;
void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash); void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) QTC_OVERRIDE;
void instancesRenderImageChanged(const QVector<ModelNode> &nodeList); void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList); void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancesChildrenChanged(const QVector<ModelNode> &nodeList); void instancesChildrenChanged(const QVector<ModelNode> &nodeList) QTC_OVERRIDE;
void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector); void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) QTC_OVERRIDE;
void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource); void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) QTC_OVERRIDE;
void rewriterBeginTransaction(); void rewriterBeginTransaction() QTC_OVERRIDE;
void rewriterEndTransaction(); void rewriterEndTransaction() QTC_OVERRIDE;
void actualStateChanged(const ModelNode &node); void actualStateChanged(const ModelNode &node) QTC_OVERRIDE;
void setResourcePath(const QString &resourcePath); void setResourcePath(const QString &resourcePath);
......
...@@ -61,42 +61,42 @@ public: ...@@ -61,42 +61,42 @@ public:
WidgetInfo widgetInfo(); WidgetInfo widgetInfo();
// AbstractView // AbstractView
void modelAttached(Model *model); void modelAttached(Model *model) QTC_OVERRIDE;
void modelAboutToBeDetached(Model *model); void modelAboutToBeDetached(Model *model) QTC_OVERRIDE;