23#include <QFutureWatcher>
105 QList< QgsLocatorFilter *> filters(
const QString &prefix = QString() );
113 Q_DECL_DEPRECATED QMap<QString, QgsLocatorFilter *> prefixedFilters()
const;
139 void cancelWithoutBlocking();
144 bool isRunning()
const;
150 void clearPreviousResults();
198 std::unique_ptr< QgsFeedback > mOwnedFeedback;
200 QList< QgsLocatorFilter * > mFilters;
201 QList< QThread * > mActiveThreads;
203 QStringList mAutocompletionList;
205 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 (.
static const QgsSettingsEntryBool * settingsLocatorFilterDefault
Settings entry locator filter default value.
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.
static const QgsSettingsEntryBool * settingsLocatorFilterEnabled
Settings entry locator filter enabled.
static const QgsSettingsEntryString * settingsLocatorFilterPrefix
Settings entry locator filter prefix.
QStringList completionList() const
Returns the list for auto completion This list is updated when preparing the search.
A boolean settings entry.
QgsSettingsTreeNamedListNode is a named list tree node for the settings tree to help organizing and i...
QgsSettingsTreeNamedListNode * createNamedListNode(const QString &key, const Qgis::SettingsTreeNodeOptions &options=Qgis::SettingsTreeNodeOptions()) SIP_THROW(QgsSettingsException)
Creates a named list tree node.
static QgsSettingsTreeNode * treeRoot()
Returns the tree root node for the settings tree.