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:49
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:165
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
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-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.