diff --git a/src/plugins/glsleditor/glslhoverhandler.h b/src/plugins/glsleditor/glslhoverhandler.h index f15c8b99483..5d1f29067e1 100644 --- a/src/plugins/glsleditor/glslhoverhandler.h +++ b/src/plugins/glsleditor/glslhoverhandler.h @@ -36,8 +36,8 @@ public: GlslHoverHandler() {} private: - virtual void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos); - virtual void decorateToolTip(); + void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override; + void decorateToolTip() override; }; } // namespace Internal diff --git a/src/plugins/qmakeprojectmanager/profilehoverhandler.h b/src/plugins/qmakeprojectmanager/profilehoverhandler.h index 407c1f4d284..7f067b345b1 100644 --- a/src/plugins/qmakeprojectmanager/profilehoverhandler.h +++ b/src/plugins/qmakeprojectmanager/profilehoverhandler.h @@ -46,7 +46,7 @@ signals: void creatorHelpRequested(const QUrl &url); private: - void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos); + void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override; void identifyQMakeKeyword(const QString &text, int pos); enum ManualKind { diff --git a/src/plugins/qmljseditor/qmljshoverhandler.h b/src/plugins/qmljseditor/qmljshoverhandler.h index bf82bcd30bf..e9f2d80ec80 100644 --- a/src/plugins/qmljseditor/qmljshoverhandler.h +++ b/src/plugins/qmljseditor/qmljshoverhandler.h @@ -57,8 +57,8 @@ public: private: void reset(); - void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos); - void operateTooltip(TextEditor::TextEditorWidget *editorWidget, const QPoint &point); + void identifyMatch(TextEditor::TextEditorWidget *editorWidget, int pos) override; + void operateTooltip(TextEditor::TextEditorWidget *editorWidget, const QPoint &point) override; bool matchDiagnosticMessage(QmlJSEditorWidget *qmlEditor, int pos); bool matchColorItem(const QmlJS::ScopeChain &lookupContext, diff --git a/src/plugins/texteditor/colorpreviewhoverhandler.h b/src/plugins/texteditor/colorpreviewhoverhandler.h index eaa701c2872..2e956027dcc 100644 --- a/src/plugins/texteditor/colorpreviewhoverhandler.h +++ b/src/plugins/texteditor/colorpreviewhoverhandler.h @@ -42,8 +42,8 @@ class TEXTEDITOR_EXPORT ColorPreviewHoverHandler : public BaseHoverHandler public: private: - virtual void identifyMatch(TextEditorWidget *editorWidget, int pos); - virtual void operateTooltip(TextEditorWidget *editorWidget, const QPoint &point); + void identifyMatch(TextEditorWidget *editorWidget, int pos) override; + void operateTooltip(TextEditorWidget *editorWidget, const QPoint &point) override; QColor m_colorTip; };