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)
278 bool CollectionModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
Job that modifies a collection in the Akonadi storage.
Definition: collectionmodifyjob.h:82
void fetchCollectionStatistics(bool enable)
Enables automatic fetching of changed collection statistics information from the Akonadi storage...
Definition: monitor.cpp:225
QString displayName() const
Returns the display name (EntityDisplayAttribute::displayName()) if set, and Collection::name() other...
Definition: collection.cpp:86
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
Can create new subcollections in this collection.
Definition: collection.h:92
void setName(const QString &name)
Sets the i18n'ed name of the collection.
Definition: collection.cpp:93
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
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
void fetchCollectionStatistics(bool enable)
Sets whether collection statistics information shall be provided by the model.
Definition: collectionmodel.cpp:313
Can create new items in this collection.
Definition: collection.h:89
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
The actual collection object.
Definition: collectionmodel.h:66
CollectionModel(QObject *parent=0)
Creates a new collection model.
Definition: collectionmodel.cpp:38
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
The collection identifier. For binary compatibility to <4.3.
Definition: collectionmodel.h:63
The collection identifier.
Definition: collectionmodel.h:65
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Thu Feb 18 2016 08:32:11 by doxygen 1.8.10 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2016 The KDE developers.
Generated on Thu Feb 18 2016 08:32:11 by doxygen 1.8.10 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.