KRunner
runnercontext.h
99 * @param cursorPosition Position of the cursor, if this is different than the length of the text,
An abstract base class for Plasma Runner plugins.
Definition abstractrunner.h:45
A match returned by an AbstractRunner in response to a given RunnerContext.
Definition querymatch.h:32
The RunnerContext class provides information related to a search, including the search term and colle...
Definition runnercontext.h:32
void setQuery(const QString &term)
Sets the query term for this object and attempts to determine the type of the search.
Definition runnercontext.cpp:163
QList< QueryMatch > matches() const
Retrieves all available matches for the current search term.
Definition runnercontext.cpp:219
RunnerContext & operator=(const RunnerContext &other)
Assignment operator.
Definition runnercontext.cpp:114
bool addMatch(const QueryMatch &match)
Appends a match to the existing list of matches.
Definition runnercontext.cpp:214
bool singleRunnerQueryMode() const
Definition runnercontext.cpp:237
bool addMatches(const QList< QueryMatch > &matches)
Appends lists of matches to the list of matches.
Definition runnercontext.cpp:191
void requestQueryStringUpdate(const QString &text, int cursorPosition) const
Request that KRunner updates the query string and stasy open, even after running a match.
Definition runnercontext.cpp:226
void ignoreCurrentMatchForHistory() const
Set this to true in the AbstractRunner::run method to prevent the entry from being saved to the histo...
Definition runnercontext.cpp:242
The RunnerManager class decides what installed runners are runnable, and their ratings.
Definition runnermanager.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:58:33 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.