6#include <albert/export.h>
7#include <albert/queryresults.h>
Query interface.
Definition querycontext.h:19
Abstract asynchronous query execution interface.
Definition queryexecution.h:20
virtual void cancel()=0
Cancels the query processing.
void activeChanged(bool active)
Emitted when query processing started or finished.
const uint id
The unique id of this query execution.
Definition queryexecution.h:29
QueryResults results
The results of this query.
Definition queryexecution.h:35
virtual bool canFetchMore() const =0
Returns true if there are more results to fetch, otherwise returns false.
const QueryContext & context
The query context of this query execution.
Definition queryexecution.h:32
virtual bool isActive() const =0
Returns true if the query is being processed, otherwise returns false.
QueryExecution(QueryContext &context)
Constructs a query execution for context
virtual void fetchMore()=0
Fetches more results.
Query results container.
Definition queryresults.h:37
The Albert namespace.
Definition app.h:55