akonadi
collectionfetchjob.h
84 explicit CollectionFetchJob(const Collection &collection, Type type = FirstLevel, QObject *parent = 0);
130 explicit CollectionFetchJob(const QList<Collection::Id> &collections, Type type = Base, QObject *parent = 0);
Job that fetches collections from the Akonadi storage.
Definition collectionfetchjob.h:54
CollectionFetchJob(const Collection &collection, Type type=FirstLevel, QObject *parent=0)
Creates a new collection fetch job.
Definition collectionfetchjob.cpp:108
@ FirstLevel
Only list direct sub-collections of the base collection.
Definition collectionfetchjob.h:63
@ NonOverlappingRoots
List the roots of a list of fetched collections.
Definition collectionfetchjob.h:65
virtual void doHandleResponse(const QByteArray &tag, const QByteArray &data)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition collectionfetchjob.cpp:310
void collectionsReceived(const Akonadi::Collection::List &collections)
This signal is emitted whenever the job has received collections.
Collection::List collections() const
Returns the list of fetched collection.
Definition collectionfetchjob.cpp:169
virtual void doStart()
This method must be reimplemented in the concrete jobs.
Definition collectionfetchjob.cpp:176
Specifies which parts of a collection should be fetched from the Akonadi storage.
Definition collectionfetchscope.h:69
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.