forked from qt-creator/qt-creator
Locator filters: Add overrides
Change-Id: I20f93d6bcb22a342d9f662d8190f97798ca3e423 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user