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) )
qlonglong toLongLong(bool *ok) const
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
void showHiddenCollection(bool showHidden)
Definition: subscriptionmodel.cpp:183
void setBold(bool enable)
Collection collectionForId(Collection::Id id) const
Returns the collection for a given collection id.
Definition: collectionmodel.cpp:307
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
bool isEmpty() const
Indicate the subscription status has been changed.
Definition: subscriptionmodel_p.h:40
Definition: itemfetchscope.h:29
void includeUnsubscribed(bool include=true)
Sets whether unsubscribed collections shall be listed in the model.
Definition: collectionmodel.cpp:320
SubscriptionModel(QObject *parent=0)
Create a new subscription model.
Definition: subscriptionmodel.cpp:84
QVariant data(int role) const
An Attribute that marks that an entity should be hidden in the UI.
Definition: entityhiddenattribute.h:60
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
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:115
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
The collection identifier.
Definition: collectionmodel.h:65
bool isVirtual() const
Returns whether the collection is virtual, for example a search collection.
Definition: collection.cpp:261
typedef ItemFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.