Plasma
querymatch.cpp
Go to the documentation of this file.
bool operator!=(const QueryMatch &other) const
Definition: querymatch.cpp:268
An abstract base class for Plasma Runner plugins.
Definition: abstractrunner.h:63
void setEnabled(bool enable)
Sets whether or not this match can be activited.
Definition: querymatch.cpp:213
bool operator==(const QueryMatch &other) const
Definition: querymatch.cpp:263
void setId(const QString &id)
Sets the id for this match; useful if the id does not match data().toString().
Definition: querymatch.cpp:169
void createConfigurationInterface(QWidget *parent)
If hasConfigurationInterface() returns true, this method may be called to get a widget displaying the...
Definition: querymatch.cpp:286
void run(const RunnerContext &context) const
Requests this match to activae using the given context.
Definition: querymatch.cpp:273
void setIcon(const QIcon &icon)
Sets the icon associated with this match.
Definition: querymatch.cpp:183
void setSubtext(const QString &text)
Sets the descriptive text for this match; can be longer than the main title text. ...
Definition: querymatch.cpp:149
void setText(const QString &text)
Sets the main title text for this match; should be short enough to fit nicely on one line in a user i...
Definition: querymatch.cpp:143
void setData(const QVariant &data)
Sets data to be used internally by the associated AbstractRunner.
Definition: querymatch.cpp:155
void setType(Type type)
Sets the type of match this action represents.
Definition: querymatch.cpp:118
QString id() const
a string that can be used as an ID for this match, even between different queries.
Definition: querymatch.cpp:109
The RunnerContext class provides information related to a search, including the search term...
Definition: runnercontext.h:46
QueryMatch(AbstractRunner *runner)
Constructs a PossibleMatch associated with a given RunnerContext and runner.
Definition: querymatch.cpp:89
QueryMatch & operator=(const QueryMatch &other)
Definition: querymatch.cpp:254
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
A match returned by an AbstractRunner in response to a given RunnerContext.
Definition: querymatch.h:47
void setRelevance(qreal relevance)
Sets the relevance of this action for the search it was created for.
Definition: querymatch.cpp:128
bool operator<(const QueryMatch &other) const
Definition: querymatch.cpp:233
bool hasConfigurationInterface() const
Definition: querymatch.cpp:281
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.