Plasma
runnercontext.cpp
Go to the documentation of this file.
61 bool correctLastComponentCase(const QString &path, QString &correctCasePath, const bool mustBeDir)
QList< QueryMatch > matches() const
Retrieves all available matches for the current search term.
Definition: runnercontext.cpp:522
void matchesChanged()
RunnerContext(QObject *parent=0)
Definition: runnercontext.cpp:266
A match returned by an AbstractRunner in response to a given RunnerContext.
Definition: querymatch.h:47
An abstract base class for Plasma Runner plugins.
Definition: abstractrunner.h:63
RunnerContext & operator=(const RunnerContext &other)
Assignment operator.
Definition: runnercontext.cpp:285
void setRelevance(qreal relevance)
Sets the relevance of this action for the search it was created for.
Definition: querymatch.cpp:128
void setSingleRunnerQueryMode(bool enabled)
Sets single runner query mode.
Definition: runnercontext.cpp:543
QString mimeType() const
The mimetype that the search term refers to, if discoverable.
Definition: runnercontext.cpp:359
bool removeMatches(const QStringList matchIdList)
Removes lists of matches from the existing list of matches.
Definition: runnercontext.cpp:434
void run(const RunnerContext &context) const
Requests this match to activae using the given context.
Definition: querymatch.cpp:273
bool addMatch(const QString &term, const QueryMatch &match)
Appends a match to the existing list of matches.
Definition: runnercontext.cpp:408
QString id() const
@ruetnr a string that can be used as an ID for this match, even between different queries.
Definition: querymatch.cpp:109
void restore(const KConfigGroup &config)
Sets the launch counts for the associated match ids.
Definition: runnercontext.cpp:553
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
bool addMatches(const QString &term, const QList< QueryMatch > &matches)
Appends lists of matches to the list of matches.
Definition: runnercontext.cpp:373
bool correctLastComponentCase(const QString &path, QString &correctCasePath, const bool mustBeDir)
Definition: runnercontext.cpp:61
bool removeMatch(const QString matchId)
Removes a match from the existing list of matches.
Definition: runnercontext.cpp:471
void run(const QueryMatch &match)
Run a match using the information from this context.
Definition: runnercontext.cpp:580
void setQuery(const QString &term)
Sets the query term for this object and attempts to determine the type of the search.
Definition: runnercontext.cpp:334
The RunnerContext class provides information related to a search, including the search term,...
Definition: runnercontext.h:46
bool singleRunnerQueryMode() const
Definition: runnercontext.cpp:548
bool correctPathCase(const QString &path, QString &corrected)
Definition: runnercontext.cpp:110
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.