|
Albert
|
#include <albert/queryexecution.h>
Abstract asynchronous query execution interface.
Controls the execution of a query, reports busy state and allows to fetch results on demand.
Inherits QObject.
Public Member Functions | |
| QueryExecution (QueryContext &context) | |
| Constructs a query execution for context | |
| virtual void | cancel ()=0 |
| Cancels the query processing. | |
| virtual void | fetchMore ()=0 |
| Fetches more results. | |
| virtual bool | canFetchMore () const =0 |
Returns true if there are more results to fetch, otherwise returns false. | |
| virtual bool | isActive () const =0 |
Returns true if the query is being processed, otherwise returns false. | |
Public Attributes | |
| const uint | id |
| The unique id of this query execution. | |
| const QueryContext & | context |
| The query context of this query execution. | |
| QueryResults | results |
| The results of this query. | |
Signals | |
| void | activeChanged (bool active) |
| Emitted when query processing started or finished. | |
|
signal |
Emitted when query processing started or finished.
true.