Commit 8264b806 authored by Tobias Hunger's avatar Tobias Hunger

qmldesigner: s/Q_DECL_OVERRIDE/override/g

Change-Id: I8853e3e8c6fe6e6a54d73ce0014f1ae37d377378
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
parent 9a40d3c4
...@@ -46,12 +46,12 @@ public: ...@@ -46,12 +46,12 @@ public:
virtual bool isVisible(const SelectionContext &m_selectionState) const = 0; virtual bool isVisible(const SelectionContext &m_selectionState) const = 0;
virtual bool isEnabled(const SelectionContext &m_selectionState) const = 0; virtual bool isEnabled(const SelectionContext &m_selectionState) const = 0;
ActionInterface::Type type() const Q_DECL_OVERRIDE; ActionInterface::Type type() const override;
QAction *action() const Q_DECL_OVERRIDE; QAction *action() const override;
QMenu *menu() const; QMenu *menu() const;
SelectionContext selectionContext() const; SelectionContext selectionContext() const;
virtual void currentContextChanged(const SelectionContext &selectionContext) Q_DECL_OVERRIDE; virtual void currentContextChanged(const SelectionContext &selectionContext) override;
virtual void updateContext(); virtual void updateContext();
private: private:
......
...@@ -49,50 +49,50 @@ public: ...@@ -49,50 +49,50 @@ public:
~DebugView(); ~DebugView();
// AbstractView // AbstractView
void modelAttached(Model *model) Q_DECL_OVERRIDE; void modelAttached(Model *model) override;
void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE; void modelAboutToBeDetached(Model *model) override;
void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE; void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) override;
void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE; void nodeCreated(const ModelNode &createdNode) override;
void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE; void nodeAboutToBeRemoved(const ModelNode &removedNode) override;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) override;
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE; void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) override;
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE; void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) override;
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) override;
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) override;
void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) override;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE; void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) override;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE; const QList<ModelNode> &lastSelectedNodeList) override;
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE; void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) override;
void propertiesRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE; void propertiesRemoved(const QList<AbstractProperty> &propertyList) override;
void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE; void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) override;
void rewriterBeginTransaction() Q_DECL_OVERRIDE; void rewriterBeginTransaction() override;
void rewriterEndTransaction() Q_DECL_OVERRIDE; void rewriterEndTransaction() override;
WidgetInfo widgetInfo() Q_DECL_OVERRIDE; WidgetInfo widgetInfo() override;
bool hasWidget() const Q_DECL_OVERRIDE; bool hasWidget() const override;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE; void instancesCompleted(const QVector<ModelNode> &completedNodeList) override;
void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE; void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) override;
void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE; void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) override;
void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE; void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) override;
void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE; void instancesChildrenChanged(const QVector<ModelNode> &nodeList) override;
void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) Q_DECL_OVERRIDE; void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) override;
void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE; void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) override;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) override;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) override;
void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE; void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) override;
void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE; void currentStateChanged(const ModelNode &node) override;
void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE; void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) override;
protected: protected:
void log(const QString &title, const QString &message, bool highlight = false); void log(const QString &title, const QString &message, bool highlight = false);
......
...@@ -40,7 +40,7 @@ class QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFo ...@@ -40,7 +40,7 @@ class QMLDESIGNERCORE_EXPORT AbstractCustomTool : public QmlDesigner::AbstractFo
public: public:
AbstractCustomTool(); AbstractCustomTool();
void selectedItemsChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE; void selectedItemsChanged(const QList<FormEditorItem *> &itemList) override;
virtual QString name() const = 0; virtual QString name() const = 0;
......
...@@ -49,36 +49,36 @@ public: ...@@ -49,36 +49,36 @@ public:
DragTool(FormEditorView *editorView); DragTool(FormEditorView *editorView);
virtual ~DragTool(); virtual ~DragTool();
void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void dropEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE; void dropEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) override;
void dragEnterEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE; void dragEnterEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) override;
void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE; void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) override;
void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE; void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) override;
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void keyPressEvent(QKeyEvent *event) override;
void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE; void keyReleaseEvent(QKeyEvent *keyEvent) override;
void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) override;
void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void selectedItemsChanged(const QList<FormEditorItem*> &itemList) override;
void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE; void instancesParentChanged(const QList<FormEditorItem *> &itemList) override;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
void updateMoveManipulator(); void updateMoveManipulator();
void beginWithPoint(const QPointF &beginPoint); void beginWithPoint(const QPointF &beginPoint);
void clear() Q_DECL_OVERRIDE; void clear() override;
void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) override;
void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void instancesCompleted(const QList<FormEditorItem*> &itemList) override;
void clearMoveDelay(); void clearMoveDelay();
......
...@@ -65,30 +65,30 @@ public: ...@@ -65,30 +65,30 @@ public:
~FormEditorView(); ~FormEditorView();
// AbstractView // AbstractView
void modelAttached(Model *model) Q_DECL_OVERRIDE; void modelAttached(Model *model) override;
void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE; void modelAboutToBeDetached(Model *model) override;
void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) Q_DECL_OVERRIDE; void importsChanged(const QList<Import> &addedImports, const QList<Import> &removedImports) override;
void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE; void nodeCreated(const ModelNode &createdNode) override;
void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE; void nodeAboutToBeRemoved(const ModelNode &removedNode) override;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, AbstractView::PropertyChangeFlags propertyChange) override;
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE; void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) override;
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE; void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) override;
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange) override;
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange) override;
void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void signalHandlerPropertiesChanged(const QVector<SignalHandlerProperty>& propertyList, PropertyChangeFlags propertyChange) override;
void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) Q_DECL_OVERRIDE; void rootNodeTypeChanged(const QString &type, int majorVersion, int minorVersion) override;
void selectedNodesChanged(const QList<ModelNode> &selectedNodeList, void selectedNodesChanged(const QList<ModelNode> &selectedNodeList,
const QList<ModelNode> &lastSelectedNodeList) Q_DECL_OVERRIDE; const QList<ModelNode> &lastSelectedNodeList) override;
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) Q_DECL_OVERRIDE; void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList) override;
void propertiesRemoved(const QList<AbstractProperty> &propertyList) Q_DECL_OVERRIDE; void propertiesRemoved(const QList<AbstractProperty> &propertyList) override;
void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) Q_DECL_OVERRIDE; void customNotification(const AbstractView *view, const QString &identifier, const QList<ModelNode> &nodeList, const QList<QVariant> &data) override;
// FormEditorView // FormEditorView
WidgetInfo widgetInfo() Q_DECL_OVERRIDE; WidgetInfo widgetInfo() override;
FormEditorWidget *formEditorWidget(); FormEditorWidget *formEditorWidget();
AbstractFormEditorTool *currentTool() const; AbstractFormEditorTool *currentTool() const;
...@@ -106,29 +106,29 @@ public: ...@@ -106,29 +106,29 @@ public:
void registerTool(AbstractCustomTool *tool); void registerTool(AbstractCustomTool *tool);
void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) Q_DECL_OVERRIDE; void auxiliaryDataChanged(const ModelNode &node, const PropertyName &name, const QVariant &data) override;
void instancesCompleted(const QVector<ModelNode> &completedNodeList) Q_DECL_OVERRIDE; void instancesCompleted(const QVector<ModelNode> &completedNodeList) override;
void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) Q_DECL_OVERRIDE; void instanceInformationsChange(const QMultiHash<ModelNode, InformationName> &informationChangeHash) override;
void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE; void instancesRenderImageChanged(const QVector<ModelNode> &nodeList) override;
void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE; void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList) override;
void instancesChildrenChanged(const QVector<ModelNode> &nodeList) Q_DECL_OVERRIDE; void instancesChildrenChanged(const QVector<ModelNode> &nodeList) override;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) Q_DECL_OVERRIDE; void instancesToken(const QString &tokenName, int tokenNumber, const QVector<ModelNode> &nodeVector) override;
void rewriterBeginTransaction() Q_DECL_OVERRIDE; void rewriterBeginTransaction() override;
void rewriterEndTransaction() Q_DECL_OVERRIDE; void rewriterEndTransaction() override;
double containerPadding() const; double containerPadding() const;
double spacing() const; double spacing() const;
void deActivateItemCreator(); void deActivateItemCreator();
void currentStateChanged(const ModelNode &node) Q_DECL_OVERRIDE; void currentStateChanged(const ModelNode &node) override;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange) override;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, const NodeAbstractProperty &oldPropertyParent, PropertyChangeFlags propertyChange) override;
void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) Q_DECL_OVERRIDE; void nodeSourceChanged(const ModelNode &modelNode, const QString &newNodeSource) override;
void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) Q_DECL_OVERRIDE; void nodeOrderChanged(const NodeListProperty &listProperty, const ModelNode &movedNode, int oldIndex) override;
protected: protected:
void reset(); void reset();
......
...@@ -48,32 +48,32 @@ public: ...@@ -48,32 +48,32 @@ public:
MoveTool(FormEditorView* editorView); MoveTool(FormEditorView* editorView);
~MoveTool(); ~MoveTool();
void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void keyPressEvent(QKeyEvent *event) override;
void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE; void keyReleaseEvent(QKeyEvent *keyEvent) override;
void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE; void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) override;
void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE; void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) override;
void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) override;
void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void selectedItemsChanged(const QList<FormEditorItem*> &itemList) override;
void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void instancesCompleted(const QList<FormEditorItem*> &itemList) override;
void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE; void instancesParentChanged(const QList<FormEditorItem *> &itemList) override;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
void updateMoveManipulator(); void updateMoveManipulator();
void beginWithPoint(const QPointF &beginPoint); void beginWithPoint(const QPointF &beginPoint);
void clear() Q_DECL_OVERRIDE; void clear() override;
void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) override;
protected: protected:
static bool haveSameParent(const QList<FormEditorItem*> &itemList); static bool haveSameParent(const QList<FormEditorItem*> &itemList);
......
...@@ -46,30 +46,30 @@ public: ...@@ -46,30 +46,30 @@ public:
ResizeTool(FormEditorView* editorView); ResizeTool(FormEditorView* editorView);
~ResizeTool(); ~ResizeTool();
void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE; void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) override;
void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) Q_DECL_OVERRIDE; void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent *event) override;
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void keyPressEvent(QKeyEvent *event) override;
void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE; void keyReleaseEvent(QKeyEvent *keyEvent) override;
void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) override;
void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void selectedItemsChanged(const QList<FormEditorItem*> &itemList) override;
void clear() Q_DECL_OVERRIDE; void clear() override;
void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) override;
void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE; void instancesParentChanged(const QList<FormEditorItem *> &itemList) override;
void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void instancesCompleted(const QList<FormEditorItem*> &itemList) override;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
private: private:
......
...@@ -52,35 +52,35 @@ public: ...@@ -52,35 +52,35 @@ public:
SelectionTool(FormEditorView* editorView); SelectionTool(FormEditorView* editorView);
~SelectionTool(); ~SelectionTool();
void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mousePressEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseReleaseEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void mouseDoubleClickEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE; void hoverMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneMouseEvent *event) override;
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; void keyPressEvent(QKeyEvent *event) override;
void keyReleaseEvent(QKeyEvent *keyEvent) Q_DECL_OVERRIDE; void keyReleaseEvent(QKeyEvent *keyEvent) override;
void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE; void dragLeaveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) override;
void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) Q_DECL_OVERRIDE; void dragMoveEvent(const QList<QGraphicsItem*> &itemList, QGraphicsSceneDragDropEvent * event) override;
void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void itemsAboutToRemoved(const QList<FormEditorItem*> &itemList) override;
// QVariant itemChange(const QList<QGraphicsItem*> &itemList, // QVariant itemChange(const QList<QGraphicsItem*> &itemList,
// QGraphicsItem::GraphicsItemChange change, // QGraphicsItem::GraphicsItemChange change,
// const QVariant &value ); // const QVariant &value );
// void update(); // void update();
void clear() Q_DECL_OVERRIDE; void clear() override;
void selectedItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void selectedItemsChanged(const QList<FormEditorItem*> &itemList) override;
void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void formEditorItemsChanged(const QList<FormEditorItem*> &itemList) override;
void instancesCompleted(const QList<FormEditorItem*> &itemList) Q_DECL_OVERRIDE; void instancesCompleted(const QList<FormEditorItem*> &itemList) override;
void instancesParentChanged(const QList<FormEditorItem *> &itemList) Q_DECL_OVERRIDE; void instancesParentChanged(const QList<FormEditorItem *> &itemList) override;
void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) Q_DECL_OVERRIDE; void instancePropertyChange(const QList<QPair<ModelNode, PropertyName> > &propertyList) override;
void selectUnderPoint(QGraphicsSceneMouseEvent *event); void selectUnderPoint(QGraphicsSceneMouseEvent *event);
......
...@@ -57,60 +57,60 @@ public: ...@@ -57,60 +57,60 @@ public:
ComponentView(QObject *parent = 0); ComponentView(QObject *parent = 0);
void modelAttached(Model *model) Q_DECL_OVERRIDE; void modelAttached(Model *model) override;
void modelAboutToBeDetached(Model *model) Q_DECL_OVERRIDE; void modelAboutToBeDetached(Model *model) override;
ComponentAction *action(); ComponentAction *action();
void nodeCreated(const ModelNode &createdNode) Q_DECL_OVERRIDE; void nodeCreated(const ModelNode &createdNode) override;
void nodeAboutToBeRemoved(const ModelNode &removedNode) Q_DECL_OVERRIDE; void nodeAboutToBeRemoved(const ModelNode &removedNode) override;
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty,
PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; PropertyChangeFlags propertyChange) override;
void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, void nodeAboutToBeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent, const NodeAbstractProperty &oldPropertyParent,
AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; AbstractView::PropertyChangeFlags propertyChange) override;
void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent, void nodeReparented(const ModelNode &node, const NodeAbstractProperty &newPropertyParent,
const NodeAbstractProperty &oldPropertyParent, const NodeAbstractProperty &oldPropertyParent,
AbstractView::PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; AbstractView::PropertyChangeFlags propertyChange) override;
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) Q_DECL_OVERRIDE; void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId) override;
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE; void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList) override;
void propertiesRemoved(const QList<AbstractProperty>& propertyList) Q_DECL_OVERRIDE; void propertiesRemoved(const QList<AbstractProperty>& propertyList) override;
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, void variantPropertiesChanged(const QList<VariantProperty>& propertyList,
PropertyChangeFlags propertyChange) Q_DECL_OVERRIDE; PropertyChangeFlags propertyChange) override;
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, void bindingPropertiesChanged(const QList<BindingProperty>& propertyList,