23#include <QFutureWatcher>
102 QList< QgsLocatorFilter *> filters(
const QString &prefix = QString() );
110 Q_DECL_DEPRECATED QMap<QString, QgsLocatorFilter *> prefixedFilters()
const;
136 void cancelWithoutBlocking();
141 bool isRunning()
const;
147 void clearPreviousResults();
193 std::unique_ptr< QgsFeedback > mOwnedFeedback;
195 QList< QgsLocatorFilter * > mFilters;
196 QList< QThread * > mActiveThreads;
198 QStringList mAutocompletionList;
200 void cancelRunningQuery();
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Encapsulates the properties relating to the context of a locator search.
Abstract base class for filters which collect locator results.
Encapsulates properties of an individual matching result found by a QgsLocatorFilter.
Handles the management of QgsLocatorFilter objects and async collection of search results from them.
static const QList< QString > CORE_FILTERS
List of core filters (i.e. not plugin filters)
void searchPrepared()
Emitted when locator has prepared the search (.
void finished()
Emitted when locator has finished a query, either as a result of successful completion or early cance...
void foundResult(const QgsLocatorResult &result)
Emitted whenever a filter encounters a matching result after the fetchResults() method is called.
QStringList completionList() const
Returns the list for auto completion This list is updated when preparing the search.
A boolean settings entry.
static const char * GUI_LOCATORFILTERS