akonadi
entitydisplayattribute.cpp
137 d->backgroundColor = QColor(components.at(0), components.at(1), components.at(2), components.at(3));
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
QByteArray serialized() const
Returns a QByteArray representation of the attribute which will be storaged.
Definition: entitydisplayattribute.cpp:93
QString displayName() const
Returns the name that should be used for display.
Definition: entitydisplayattribute.cpp:52
const T & at(int i) const
int size() const
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
KIcon icon() const
Returns the icon that should be used for this collection or item.
Definition: entitydisplayattribute.cpp:62
QString fromUtf8(const char *str, int size)
void setIconName(const QString &name)
Sets the icon name for the default icon.
Definition: entitydisplayattribute.cpp:72
EntityDisplayAttribute * clone() const
Creates a copy of this attribute.
Definition: entitydisplayattribute.cpp:83
QByteArray number(int n, int base)
void setBackgroundColor(const QColor &color)
Sets the backgroundColor to color.
Definition: entitydisplayattribute.cpp:162
void setDisplayName(const QString &name)
Sets the name that should be used for display.
Definition: entitydisplayattribute.cpp:57
QColor backgroundColor() const
Returns the backgroundColor or an invalid color if none is set.
Definition: entitydisplayattribute.cpp:157
void deserialize(const QByteArray &data)
Sets the data of this attribute, using the same encoding as returned by toByteArray().
Definition: entitydisplayattribute.cpp:110
EntityDisplayAttribute()
Creates a new entity display attribute.
Definition: entitydisplayattribute.cpp:42
QByteArray type() const
Returns the type of the attribute.
Definition: entitydisplayattribute.cpp:77
~EntityDisplayAttribute()
Destroys the entity display attribute.
Definition: entitydisplayattribute.cpp:47
Attribute that stores the properties that are used to display an entity.
Definition: entitydisplayattribute.h:39
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 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:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.