|
Albert
|
#include <albert/querycontext.h>
Query interface.
Inherited by albert::detail::Query.
Public Member Functions | |
| virtual bool | isValid () const =0 |
Returns true if the query is valid; false if it has been cancelled. | |
| virtual const QueryHandler & | handler () const =0 |
| Returns the handler of this query. | |
| virtual QString | trigger () const =0 |
| Returns the trigger string of the query. | |
| virtual QString | query () const =0 |
| Returns the query string of the query. | |
| virtual const UsageScoring & | usageScoring () const =0 |
| Returns the usage scoring. | |
| operator QString () const | |
| Implicit QString context conversion. | |
|
pure virtual |
Returns true if the query is valid; false if it has been cancelled.
This function is thread-safe.