forked from qt-creator/qt-creator
Help: Use override consistently
clang-tidy fixes from modernize-use-override check. Change-Id: I3aec6d7ab1e8f088b745d2d9730e3d49ced42031 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -50,7 +50,7 @@ class SearchSideBarItem : public Core::SideBarItem
|
||||
public:
|
||||
SearchSideBarItem();
|
||||
|
||||
QList<QToolButton *> createToolBarWidgets();
|
||||
QList<QToolButton *> createToolBarWidgets() override;
|
||||
|
||||
signals:
|
||||
void linkActivated(const QUrl &url, const QStringList &searchTerms, bool newPage);
|
||||
@@ -62,7 +62,7 @@ class SearchWidget : public QWidget
|
||||
|
||||
public:
|
||||
SearchWidget();
|
||||
~SearchWidget();
|
||||
~SearchWidget() override;
|
||||
|
||||
void zoomIn();
|
||||
void zoomOut();
|
||||
@@ -74,7 +74,7 @@ signals:
|
||||
void linkActivated(const QUrl &link, const QStringList &searchTerms, bool newPage);
|
||||
|
||||
protected:
|
||||
void showEvent(QShowEvent *event);
|
||||
void showEvent(QShowEvent *event) override;
|
||||
|
||||
private:
|
||||
void search() const;
|
||||
@@ -85,8 +85,8 @@ private:
|
||||
void indexingStarted();
|
||||
void indexingFinished();
|
||||
|
||||
bool eventFilter(QObject* o, QEvent *e);
|
||||
void contextMenuEvent(QContextMenuEvent *contextMenuEvent);
|
||||
bool eventFilter(QObject* o, QEvent *e) override;
|
||||
void contextMenuEvent(QContextMenuEvent *contextMenuEvent) override;
|
||||
QStringList currentSearchTerms() const;
|
||||
|
||||
int zoomCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user