akonadi
collectiongeneralpropertiespage.cpp
88 collection.attribute<EntityDisplayAttribute>(Collection::AddIfMissing)->setIconName(ui.customIcon->icon());
qint64 count() const
Returns the number of items in this collection or -1 if this information is not available.
Definition: collectionstatistics.cpp:67
QString displayName() const
Returns the name that should be used for display.
Definition: entitydisplayattribute.cpp:52
A single page in a collection properties dialog.
Definition: collectionpropertiespage.h:99
void setName(const QString &name)
Sets the i18n'ed name of the collection.
Definition: collection.cpp:93
Attribute * attribute(const QByteArray &name) const
Returns the attribute of the given type name if available, 0 otherwise.
Definition: entity.cpp:167
void setObjectName(const QString &name)
bool isEmpty() const
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
CollectionStatistics statistics() const
Returns the collection statistics of the collection.
Definition: collection.cpp:238
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
qint64 size() const
Returns the total size of the items in this collection or -1 if this information is not available...
Definition: collectionstatistics.cpp:87
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:02 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:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.