summaryrefslogtreecommitdiffstats
path: root/common/modelresult.h
Commit message (Collapse)AuthorAge
* Implemented notification support in the model.Christian Mollekopf2017-03-24
| | | | | | | | This will allow us to fold things like progress and sync status directly into the model. Usecases are mail download progress and folder sync progress. Ideally we would also solve the resource/account state through this.
* Don't call into the model after the model has been destroyed.Christian Mollekopf2017-01-31
|
* More Log::ContextChristian Mollekopf2016-12-22
|
* Report when we don't have any more to fetch.Christian Mollekopf2016-12-20
| | | | ... so we can use that information in fetchMore.
* Don't use a static for the threadboundaryChristian Mollekopf2016-06-19
| | | | Otherwise we risk calling into already destroyed models.
* Moved thread-boundary crossing to the model.Christian Mollekopf2016-06-15
| | | | | That way we avoid any unnecessary queuing for the sync API, and enable fine-tuning in the model code at a later stage.
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* ModelResult header data, and support listing various types in theChristian Mollekopf2015-12-04
| | | | dummyclient
* Provide a way to get to the ApplicationDomainType base classChristian Mollekopf2015-12-04
| | | | QVariant doesn't support polymorphism for non-QObject classes.
* Provide status information about children fetch stateChristian Mollekopf2015-11-30
| | | | The fetch state is per parent.
* ModelResult hasChildren, cleanupChristian Mollekopf2015-11-30
|
* Introduced a QueryRunner objectChristian Mollekopf2015-11-27
| | | | | | | | The QueryRunner object lives for the duration of the query (so just for the initial query for non-live queries, and for the lifetime of the result model for live queries). It's supposed to handle all the threading internally and decouple the lifetime of the facade.
* Only use the parent index when it's availableChristian Mollekopf2015-11-25
|
* Move implementations to the cpp file.Christian Mollekopf2015-11-19
| | | | | | | | I finally figured out how to do that with cpp files. It requires instantiating the code with all expected classes, but that's not a big problem since we know all types. This will hopefully greatly reduce the compiletimes...
* The parent is always an object, so we might as well make that explicitChristian Mollekopf2015-11-19
|
* Loading data with the new model for the test clientChristian Mollekopf2015-11-19
|
* Use the new modelresult in the dummyclientChristian Mollekopf2015-11-19
|
* Working folder tree queryChristian Mollekopf2015-11-15
|
* DummyResourceTest and QueryTest are passingChristian Mollekopf2015-11-13
| | | | sync has been removed from the query code and is now a separate step
* It's starting to workChristian Mollekopf2015-11-13
|
* A result modelChristian Mollekopf2015-11-10
The result model drives the data retrieval and provides the interace for consumers