akonadi
subscriptionmodel.cpp
89 CollectionFetchJob* job = new CollectionFetchJob( Collection::root(), CollectionFetchJob::Recursive, this );
160 if ( d->subscriptions.contains( col ) && d->subscriptions.value( col ) == (value == Qt::Checked) )
Job that fetches collections from the Akonadi storage.
Definition collectionfetchjob.h:54
void includeUnsubscribed(bool include=true)
Sets whether unsubscribed collections shall be listed in the model.
Definition collectionmodel.cpp:320
Collection collectionForId(Collection::Id id) const
Returns the collection for a given collection id.
Definition collectionmodel.cpp:307
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition collection.cpp:115
bool isVirtual() const
Returns whether the collection is virtual, for example a search collection.
Definition collection.cpp:261
An Attribute that marks that an entity should be hidden in the UI.
Definition entityhiddenattribute.h:61
bool hasAttribute(const QByteArray &name) const
Returns true if the entity has an attribute of the given type name, false otherwise.
Definition entity.cpp:148
An Attribute that stores the special collection type of a collection.
Definition specialcollectionattribute_p.h:40
void showHiddenCollection(bool showHidden)
Definition subscriptionmodel.cpp:183
SubscriptionModel(QObject *parent=0)
Create a new subscription model.
Definition subscriptionmodel.cpp:84
@ SubscriptionChangedRole
Indicate the subscription status has been changed.
Definition subscriptionmodel_p.h:40
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.