akonadi
collectionmodel.cpp
134 return createIndex(row, column, reinterpret_cast<void *>(d->collections.value(list.at(row)).id()));
187 bool CollectionModel::setHeaderData(int section, Qt::Orientation orientation, const QVariant &value, int role)
QString displayName() const
Returns the display name (EntityDisplayAttribute::displayName()) if set, and Collection::name() other...
Definition: collection.cpp:86
void fetchCollectionStatistics(bool enable)
Sets whether collection statistics information shall be provided by the model.
Definition: collectionmodel.cpp:313
Job that modifies a collection in the Akonadi storage.
Definition: collectionmodifyjob.h:83
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:40
QString iconName() const
Returns the icon name of the icon returned by icon().
Definition: entitydisplayattribute.cpp:67
@ OldCollectionRole
The actual collection object. For binary compatibility to <4.3.
Definition: collectionmodel.h:64
Attribute * attribute(const QByteArray &name) const
Returns the attribute of the given type name if available, 0 otherwise.
Definition: entity.cpp:167
Collection collectionForId(Collection::Id id) const
Returns the collection for a given collection id.
Definition: collectionmodel.cpp:307
KJob * paste(const QMimeData *mimeData, const Collection &collection, bool copy=true, Session *session=0)
Paste/drop the given mime data into the given collection.
Definition: pastehelper.cpp:272
void fetchCollectionStatistics(bool enable)
Enables automatic fetching of changed collection statistics information from the Akonadi storage.
Definition: monitor.cpp:225
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
Rights rights() const
Returns the rights the user has on the collection.
Definition: collection.cpp:99
void includeUnsubscribed(bool include=true)
Sets whether unsubscribed collections shall be listed in the model.
Definition: collectionmodel.cpp:320
@ OldCollectionIdRole
The collection identifier. For binary compatibility to <4.3.
Definition: collectionmodel.h:63
void setName(const QString &name)
Sets the i18n'ed name of the collection.
Definition: collection.cpp:93
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.