akonadi
entitydisplayattribute.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_ENTITYDISPLAYATTRIBUTE_H
00021 #define AKONADI_ENTITYDISPLAYATTRIBUTE_H
00022
00023 #include <akonadi/attribute.h>
00024
00025 class KIcon;
00026
00027 namespace Akonadi {
00028
00038 class AKONADI_EXPORT EntityDisplayAttribute : public Attribute
00039 {
00040 public:
00044 EntityDisplayAttribute();
00045
00049 ~EntityDisplayAttribute();
00050
00054 void setDisplayName( const QString &name );
00055
00060 QString displayName() const;
00061
00065 void setIconName( const QString &name );
00066
00070 KIcon icon() const;
00071
00075 QString iconName() const;
00076
00077
00078 QByteArray type() const;
00079 EntityDisplayAttribute* clone() const;
00080 QByteArray serialized() const;
00081 void deserialize( const QByteArray &data );
00082
00083 private:
00084
00085 class Private;
00086 Private* const d;
00087
00088 };
00089
00090 }
00091
00092 #endif