summaryrefslogtreecommitdiff
path: root/src/plugins/help
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-05-31 16:04:09 +0200
committerEike Ziller <eike.ziller@qt.io>2017-06-02 07:17:24 +0000
commit33cc799b98d637faf5a706bcf8676234fbcc7372 (patch)
treec93d27084a147ebcc36ad6bfdb375866eff31c2d /src/plugins/help
parent6310afc1b2f57e2fd4c58dd9ce4021b239ff483b (diff)
downloadqt-creator-33cc799b98d637faf5a706bcf8676234fbcc7372.tar.gz
Locator filters: Add overrides
Change-Id: I20f93d6bcb22a342d9f662d8190f97798ca3e423 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/help')
-rw-r--r--src/plugins/help/helpindexfilter.h8
-rw-r--r--src/plugins/help/remotehelpfilter.h13
2 files changed, 11 insertions, 10 deletions
diff --git a/src/plugins/help/helpindexfilter.h b/src/plugins/help/helpindexfilter.h
index f0edb547f6..701c37dbd3 100644
--- a/src/plugins/help/helpindexfilter.h
+++ b/src/plugins/help/helpindexfilter.h
@@ -42,11 +42,11 @@ public:
~HelpIndexFilter();
// ILocatorFilter
- void prepareSearch(const QString &entry);
+ void prepareSearch(const QString &entry) override;
QList<Core::LocatorFilterEntry> matchesFor(QFutureInterface<Core::LocatorFilterEntry> &future,
- const QString &entry);
- void accept(Core::LocatorFilterEntry selection) const;
- void refresh(QFutureInterface<void> &future);
+ const QString &entry) override;
+ void accept(Core::LocatorFilterEntry selection) const override;
+ void refresh(QFutureInterface<void> &future) override;
Q_INVOKABLE QSet<QString> searchMatches(const QString &databaseFilePath,
const QString &term, int limit);
diff --git a/src/plugins/help/remotehelpfilter.h b/src/plugins/help/remotehelpfilter.h
index e166ad6ecf..1dc89ab085 100644
--- a/src/plugins/help/remotehelpfilter.h
+++ b/src/plugins/help/remotehelpfilter.h
@@ -43,12 +43,13 @@ public:
~RemoteHelpFilter();
// ILocatorFilter
- QList<Core::LocatorFilterEntry> matchesFor(QFutureInterface<Core::LocatorFilterEntry> &future, const QString &entry);
- void accept(Core::LocatorFilterEntry selection) const;
- void refresh(QFutureInterface<void> &future);
- QByteArray saveState() const;
- void restoreState(const QByteArray &state);
- bool openConfigDialog(QWidget *parent, bool &needsRefresh);
+ QList<Core::LocatorFilterEntry> matchesFor(QFutureInterface<Core::LocatorFilterEntry> &future,
+ const QString &entry) override;
+ void accept(Core::LocatorFilterEntry selection) const override;
+ void refresh(QFutureInterface<void> &future) override;
+ QByteArray saveState() const override;
+ void restoreState(const QByteArray &state) override;
+ bool openConfigDialog(QWidget *parent, bool &needsRefresh) override;
QStringList remoteUrls() const;