EntityDisplayAttribute Class Reference
from PyKDE4.akonadi import *
Inherits: Akonadi.Attribute
Namespace: Akonadi
Detailed Description
Attribute that stores the properties that are used to display an entity.
Display properties of a collection or item, such as translated names and icons.
To do: add active icon, eg. when folder contains unread mail, or a mail is unread
- Author:
- Volker Krause <vkrause@kde.org>
- Since:
- 4.2
Method Documentation
Creates a new entity display attribute.
Returns the name that should be used for display.
Users of this should fall back to Collection.name() if this is empty.
Returns the icon that should be used for this collection or item.
Returns the icon name of the icon returned by icon().
setDisplayName |
( |
self, |
|
|
|
QString |
name |
|
) |
|
|
|
Sets the name that should be used for display.
Sets the icon name for the default icon.