akonadi
Akonadi::MessageThreadingAttribute Class Reference
Message threading information. More...
#include <messagethreadingattribute.h>

Public Member Functions | |
MessageThreadingAttribute * | clone () const |
void | deserialize (const QByteArray &data) |
MessageThreadingAttribute (const MessageThreadingAttribute &other) | |
MessageThreadingAttribute () | |
QList< Item::Id > | perfectParents () const |
QByteArray | serialized () const |
void | setPerfectParents (const QList< Item::Id > &parents) |
void | setSubjectParents (const QList< Item::Id > &parents) |
void | setUnperfectParents (const QList< Item::Id > &parents) |
QList< Item::Id > | subjectParents () const |
QByteArray | type () const |
QList< Item::Id > | unperfectParents () const |
~MessageThreadingAttribute () |
Detailed Description
Message threading information.Used eg. by MessageThreaderProxyModel
Definition at line 32 of file messagethreadingattribute.h.
Constructor & Destructor Documentation
MessageThreadingAttribute::MessageThreadingAttribute | ( | ) |
MessageThreadingAttribute::MessageThreadingAttribute | ( | const MessageThreadingAttribute & | other | ) |
MessageThreadingAttribute::~MessageThreadingAttribute | ( | ) |
Member Function Documentation
MessageThreadingAttribute * MessageThreadingAttribute::clone | ( | ) | const [virtual] |
Creates a copy of this attribute.
Implements Akonadi::Attribute.
Definition at line 53 of file messagethreadingattribute.cpp.
void MessageThreadingAttribute::deserialize | ( | const QByteArray & | data | ) | [virtual] |
Sets the data of this attribute, using the same encoding as returned by toByteArray().
- Parameters:
-
data The encoded attribute data.
Implements Akonadi::Attribute.
Definition at line 92 of file messagethreadingattribute.cpp.
Returns the list of perfect parent message ids.
Definition at line 107 of file messagethreadingattribute.cpp.
QByteArray MessageThreadingAttribute::serialized | ( | ) | const [virtual] |
Returns a QByteArray representation of the attribute which will be storaged.
This can be raw binary data, no encoding needs to be applied.
Implements Akonadi::Attribute.
Definition at line 58 of file messagethreadingattribute.cpp.
Sets the list of perfect parent message ids.
Definition at line 112 of file messagethreadingattribute.cpp.
Sets the list of possible parent message ids based on analyzing the subject.
Definition at line 132 of file messagethreadingattribute.cpp.
Sets the list of non-perfect parent message ids.
Definition at line 122 of file messagethreadingattribute.cpp.
Returns the list of possible parent message ids based on analyzing the subject.
Definition at line 127 of file messagethreadingattribute.cpp.
QByteArray MessageThreadingAttribute::type | ( | ) | const [virtual] |
Returns the type of the attribute.
Implements Akonadi::Attribute.
Definition at line 48 of file messagethreadingattribute.cpp.
Returns the list of non-perfect parent message ids.
Definition at line 117 of file messagethreadingattribute.cpp.
The documentation for this class was generated from the following files: