QueryMatchRating enum
Defines how closely the associated QueryMatch fits the query.
Constructors
- QueryMatchRating()
-
const
Values
- possible → const QueryMatchRating
-
Indicates this might be a match for the query.
- information → const QueryMatchRating
-
A match that offers information but no action.
This match type has a higher ranking than QueryMatchRating.possible, and when selected by the user the value is copied to clipboard and replaces the current search query in their active KRunner interface.
Examples:
-
A calculator runner could return the result of a calculation. If the user selects the match the calculation is copied to clipboard.
-
A dictionary runner could return the result of a translation. If the user selects the match the translation is copied to clipboard.
-
- exact → const QueryMatchRating
-
Considered as an exact match for the user's query.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
QueryMatchRating> - A constant List of the values in this enum, in order of their declaration.