akonadi
collectionmodel.cpp
136 return createIndex( row, column, reinterpret_cast<void*>( d->collections.value( list.at(row) ).id() ) );
179 QVariant CollectionModel::headerData( int section, Qt::Orientation orientation, int role ) const
189 bool CollectionModel::setHeaderData( int section, Qt::Orientation orientation, const QVariant &value, int role )
280 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:185
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:91
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:165
Collection collectionForId(Collection::Id id) const
Returns the collection for a given collection id.
Definition: collectionmodel.cpp:309
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:186
void fetchCollectionStatistics(bool enable)
Sets whether collection statistics information shall be provided by the model.
Definition: collectionmodel.cpp:315
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:322
The actual collection object.
Definition: collectionmodel.h:66
CollectionModel(QObject *parent=0)
Creates a new collection model.
Definition: collectionmodel.cpp:39
bool hasAttribute(const QByteArray &name) const
Returns true if the entity has an attribute of the given type name, false otherwise.
Definition: entity.cpp:146
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.