akonadi
entitydisplayattribute.cpp
47 EntityDisplayAttribute::~ EntityDisplayAttribute()
136 d->backgroundColor = QColor(components.at(0), components.at(1), components.at(2), components.at(3));
EntityDisplayAttribute * clone() const
Creates a copy of this attribute.
Definition: entitydisplayattribute.cpp:82
void setActiveIconName(const QString &name)
Sets the icon name for the active icon.
Definition: entitydisplayattribute.cpp:141
QString activeIconName() const
Returns the icon name of an active item.
Definition: entitydisplayattribute.cpp:151
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:161
void setDisplayName(const QString &name)
Sets the name that should be used for display.
Definition: entitydisplayattribute.cpp:57
QByteArray serialized() const
Returns a QByteArray representation of the attribute which will be storaged.
Definition: entitydisplayattribute.cpp:92
void deserialize(const QByteArray &data)
Sets the data of this attribute, using the same encoding as returned by toByteArray().
Definition: entitydisplayattribute.cpp:109
EntityDisplayAttribute()
Creates a new entity display attribute.
Definition: entitydisplayattribute.cpp:42
QString displayName() const
Returns the name that should be used for display.
Definition: entitydisplayattribute.cpp:52
KIcon activeIcon() const
Returns the icon that should be used for this collection or item when active.
Definition: entitydisplayattribute.cpp:146
KIcon icon() const
Returns the icon that should be used for this collection or item.
Definition: entitydisplayattribute.cpp:62
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
QString iconName() const
Returns the icon name of the icon returned by icon().
Definition: entitydisplayattribute.cpp:67
QColor backgroundColor() const
Returns the backgroundColor or an invalid color if none is set.
Definition: entitydisplayattribute.cpp:156
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Fri Oct 19 2018 17:54:58 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2018 The KDE developers.
Generated on Fri Oct 19 2018 17:54:58 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.