diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 15:02:41 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-08 07:37:17 +0000 |
commit | 5e2fe8aea28e4cd6039b1f31c4287f1b29839572 (patch) | |
tree | 3ec8397c5852e3fed096d931595c3432daf4d969 /src/plugins/texteditor/basefilefind.h | |
parent | b6f5ec35593fc534f4713d2de10aa03279769964 (diff) |
TextEditor: Use override consistently
clang-tidy fixes from modernize-use-override check.
Change-Id: Ie98c08279d7bf01f2705f631500dcabac5ba85d1
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/texteditor/basefilefind.h')
-rw-r--r-- | src/plugins/texteditor/basefilefind.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/texteditor/basefilefind.h b/src/plugins/texteditor/basefilefind.h index 222dfd4e879..b204b023e55 100644 --- a/src/plugins/texteditor/basefilefind.h +++ b/src/plugins/texteditor/basefilefind.h @@ -66,7 +66,7 @@ class TEXTEDITOR_EXPORT SearchEngine : public QObject Q_OBJECT public: SearchEngine(QObject *parent = nullptr); - ~SearchEngine(); + ~SearchEngine() override; virtual QString title() const = 0; virtual QString toolTip() const = 0; // add %1 placeholder where the find flags should be put virtual QWidget *widget() const = 0; @@ -93,12 +93,12 @@ class TEXTEDITOR_EXPORT BaseFileFind : public Core::IFindFilter public: BaseFileFind(); - ~BaseFileFind(); + ~BaseFileFind() override; - bool isEnabled() const; - bool isReplaceSupported() const { return true; } - void findAll(const QString &txt, Core::FindFlags findFlags); - void replaceAll(const QString &txt, Core::FindFlags findFlags); + bool isEnabled() const override; + bool isReplaceSupported() const override { return true; } + void findAll(const QString &txt, Core::FindFlags findFlags) override; + void replaceAll(const QString &txt, Core::FindFlags findFlags) override; void addSearchEngine(SearchEngine *searchEngine); /* returns the list of unique files that were passed in items */ |