akonadi
collectionrequester.cpp
70 CollectionFetchJob *job = new CollectionFetchJob(collection, Akonadi::CollectionFetchJob::Base, q);
235void CollectionRequester::changeCollectionDialogOptions(CollectionDialog::CollectionDialogOptions options)
Akonadi::Collection selectedCollection() const
Returns the selected collection if the selection mode is QAbstractItemView::SingleSelection.
Definition: collectiondialog_desktop.cpp:309
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:54
CollectionFetchScope & fetchScope()
Returns the collection fetch scope.
Definition: collectionfetchjob.cpp:439
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:169
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval.
Definition: collectionfetchscope.cpp:138
A widget to request an Akonadi collection from the user.
Definition: collectionrequester.h:59
void setContentMimeTypes(const QStringList &mimetypes)
Allow to specify collection content mimetype when we create new one.
Definition: collectionrequester.cpp:242
void collectionChanged(const Akonadi::Collection &collection)
This signal is emitted when the selected collection has changed.
void setCollection(const Akonadi::Collection &collection)
Sets the collection of the requester.
Definition: collectionrequester.cpp:190
Akonadi::Collection collection() const
Returns the currently chosen collection, or an empty collection if none none was chosen.
Definition: collectionrequester.cpp:185
QStringList mimeTypeFilter() const
Returns the mime types any of which the selected collection shall support.
Definition: collectionrequester.cpp:210
Collection::Rights accessRightsFilter() const
Returns the access rights that the listed collections shall match with.
Definition: collectionrequester.cpp:226
void changeCollectionDialogOptions(CollectionDialog::CollectionDialogOptions options)
Definition: collectionrequester.cpp:235
void setMimeTypeFilter(const QStringList &mimeTypes)
Sets the mime types any of which the selected collection shall support.
Definition: collectionrequester.cpp:203
void setAccessRightsFilter(Collection::Rights rights)
Sets the access rights that the listed collections shall match with.
Definition: collectionrequester.cpp:219
CollectionRequester(QWidget *parent=0)
Creates a collection requester.
Definition: collectionrequester.cpp:165
QString displayName() const
Returns the display name (EntityDisplayAttribute::displayName()) if set, and Collection::name() other...
Definition: collection.cpp:86
AKONADI_DEPRECATED Id parent() const
Returns the identifier of the parent collection.
Definition: collection.cpp:129
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.