class ItemFetchJob |
|
Job that fetches items from the Akonadi storage.
This class is used to fetch items from the Akonadi storage. Which parts of the items (e.g. headers only, attachments or all) can be specified by the ItemFetchScope. Example:
Author Volker Krause |
|
Creates a new item fetch job.
collection - The parent collection to fetch all items from. parent - The parent object. |
|
Creates a new item fetch job.
item - The item to fetch. parent - The parent object. |
|
|
|
Returns the item fetch scope.
Since this returns a reference it can be used to conveniently modify the current scope in-place, i.e. by calling a method on the returned reference without storing it in a local variable. See the ItemFetchScope documentation for an example. Returns a reference to the current item fetch scope See also setFetchScope() for replacing the current item fetch scope |
|
Returns the fetched item.
The items are invalid before the result( KJob* ) signal has been emitted or if an error occurred. |
|
This signal is emitted when the items are fetched completely.
items - The fetched items. |
|
Sets the item fetch scope.
The ItemFetchScope controls how much of an item's data is fetched from the server, e.g. whether to fetch the full item payload or only meta data. fetchScope - the new scope for item fetch operations See also fetchScope() |