akonadi
entitydisplayattribute.cpp
47EntityDisplayAttribute::~ EntityDisplayAttribute()
137 d->backgroundColor = QColor(components.at(0), components.at(1), components.at(2), components.at(3));
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:40
void setIconName(const QString &name)
Sets the icon name for the default icon.
Definition: entitydisplayattribute.cpp:72
void setBackgroundColor(const QColor &color)
Sets the backgroundColor to color.
Definition: entitydisplayattribute.cpp:162
KIcon activeIcon() const
Returns the icon that should be used for this collection or item when active.
Definition: entitydisplayattribute.cpp:147
void setActiveIconName(const QString &name)
Sets the icon name for the active icon.
Definition: entitydisplayattribute.cpp:142
EntityDisplayAttribute()
Creates a new entity display attribute.
Definition: entitydisplayattribute.cpp:42
QColor backgroundColor() const
Returns the backgroundColor or an invalid color if none is set.
Definition: entitydisplayattribute.cpp:157
EntityDisplayAttribute * clone() const
Creates a copy of this attribute.
Definition: entitydisplayattribute.cpp:83
QString displayName() const
Returns the name that should be used for display.
Definition: entitydisplayattribute.cpp:52
void deserialize(const QByteArray &data)
Sets the data of this attribute, using the same encoding as returned by toByteArray().
Definition: entitydisplayattribute.cpp:110
void setDisplayName(const QString &name)
Sets the name that should be used for display.
Definition: entitydisplayattribute.cpp:57
QString activeIconName() const
Returns the icon name of an active item.
Definition: entitydisplayattribute.cpp:152
KIcon icon() const
Returns the icon that should be used for this collection or item.
Definition: entitydisplayattribute.cpp:62
QByteArray serialized() const
Returns a QByteArray representation of the attribute which will be storaged.
Definition: entitydisplayattribute.cpp:93
QString iconName() const
Returns the icon name of the icon returned by icon().
Definition: entitydisplayattribute.cpp:67
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.