akonadi
collectionutils_p.h
96 if (content.contains(QLatin1String("akonadi/event")) || content.contains(QLatin1String("text/ical"))) {
112 if (!col.attribute<EntityDisplayAttribute>()->activeIconName().isEmpty() && col.statistics().unreadCount() > 0) {
QString activeIconName() const
Returns the icon name of an active item.
Definition: entitydisplayattribute.cpp:152
QString iconName() const
Returns the icon name of the icon returned by icon().
Definition: entitydisplayattribute.cpp:67
bool contains(const QString &str, Qt::CaseSensitivity cs) const
int size() const
Attribute * attribute(const QByteArray &name) const
Returns the attribute of the given type name if available, 0 otherwise.
Definition: entity.cpp:167
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
bool isEmpty() const
bool isEmpty() const
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
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
qint64 unreadCount() const
Returns the number of unread items in this collection or -1 if this information is not available...
Definition: collectionstatistics.cpp:77
QStringList contentMimeTypes() const
Returns a list of possible content mimetypes, e.g.
Definition: collection.cpp:115
QString resource() const
Returns the identifier of the resource owning the collection.
Definition: collection.cpp:207
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
bool isVirtual() const
Returns whether the collection is virtual, for example a search collection.
Definition: collection.cpp:261
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.