ILocatorFilter: Move allLocatorFilters() into private section

This shouldn't be used outside of locator scope.
For other usages that could reuse some filter's
implementation use LocatorMatcher with shared
list of LocatorMatcherTask.

Change-Id: I63a62c79b38985e24835fecd38d016dfb164a16e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2023-04-06 17:30:51 +02:00
parent dd5eed0b35
commit 129fc0583f

View File

@@ -201,8 +201,6 @@ public:
ILocatorFilter(QObject *parent = nullptr); ILocatorFilter(QObject *parent = nullptr);
~ILocatorFilter() override; ~ILocatorFilter() override;
static const QList<ILocatorFilter *> allLocatorFilters();
Utils::Id id() const; Utils::Id id() const;
Utils::Id actionId() const; Utils::Id actionId() const;
@@ -281,6 +279,7 @@ protected:
private: private:
friend class Internal::Locator; friend class Internal::Locator;
static const QList<ILocatorFilter *> allLocatorFilters();
Utils::Id m_id; Utils::Id m_id;
QString m_shortcut; QString m_shortcut;