akonadi/kmime
messagethreadingattribute.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_MESSAGETHREADINGATTRIBUTE_H
00021 #define AKONADI_MESSAGETHREADINGATTRIBUTE_H
00022
00023 #include "akonadi-kmime_export.h"
00024 #include <akonadi/attribute.h>
00025 #include <akonadi/item.h>
00026
00027 namespace Akonadi {
00028
00032 class AKONADI_KMIME_EXPORT MessageThreadingAttribute : public Attribute
00033 {
00034 public:
00038 MessageThreadingAttribute();
00039
00043 MessageThreadingAttribute( const MessageThreadingAttribute &other );
00044
00048 ~MessageThreadingAttribute();
00049
00053 QList<Item::Id> perfectParents() const;
00054
00058 void setPerfectParents( const QList<Item::Id> &parents );
00059
00063 QList<Item::Id> unperfectParents() const;
00064
00068 void setUnperfectParents( const QList<Item::Id> &parents );
00069
00073 QList<Item::Id> subjectParents() const;
00074
00078 void setSubjectParents( const QList<Item::Id> &parents );
00079
00080
00081 QByteArray type() const;
00082 MessageThreadingAttribute* clone() const;
00083 QByteArray serialized() const;
00084 void deserialize( const QByteArray &data );
00085
00086 private:
00087 class Private;
00088 Private * const d;
00089 };
00090
00091 }
00092
00093 #endif