akonadi
specialcollectionsdiscoveryjob.cpp
34 SpecialCollectionsDiscoveryJobPrivate(SpecialCollections *collections, const QStringList &mimeTypes)
44 Akonadi::SpecialCollectionsDiscoveryJob::SpecialCollectionsDiscoveryJob(SpecialCollections *collections, const QStringList &mimeTypes, QObject *parent)
57 CollectionFetchJob *job = new CollectionFetchJob(Collection::root(), CollectionFetchJob::Recursive, this);
71 d->mSpecialCollections->registerCollection(collection.attribute<SpecialCollectionAttribute>()->collectionType(), collection);
QByteArray collectionType() const
Returns the special collections type of the collection.
Definition: specialcollectionattribute.cpp:74
CollectionFetchScope & fetchScope()
Returns the collection fetch scope.
Definition: collectionfetchjob.cpp:439
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:53
An Attribute that stores the special collection type of a collection.
Definition: specialcollectionattribute_p.h:39
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:169
void setContentMimeTypes(const QStringList &mimeTypes)
Sets a content mimetypes filter, that is only collections that contain at least one of the given mime...
Definition: collectionfetchscope.cpp:128
~SpecialCollectionsDiscoveryJob()
Destroys the special collections request job.
Definition: specialcollectionsdiscoveryjob.cpp:50
SpecialCollectionsDiscoveryJob(SpecialCollections *collections, const QStringList &mimeTypes, QObject *parent=0)
Creates a new special collections request job.
Definition: specialcollectionsdiscoveryjob.cpp:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:51:06 by doxygen 1.8.14 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sat Jul 14 2018 04:51:06 by doxygen 1.8.14 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.