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

Public Member Functions | |
| MessageThreadingAttribute (const MessageThreadingAttribute &other) | |
| MessageThreadingAttribute () | |
| ~MessageThreadingAttribute () | |
| MessageThreadingAttribute * | clone () const |
| void | deserialize (const QByteArray &data) |
| 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 |
Detailed Description
Message threading information.
Used eg. by MessageThreaderProxyModel
- Deprecated:
- This attribute is not used for threading and will not work. Use the messagelist component in the kdepim module instead.
Definition at line 34 of file messagethreadingattribute.h.
Constructor & Destructor Documentation
| Akonadi::MessageThreadingAttribute::MessageThreadingAttribute | ( | ) |
Creates an empty threading attribute.
| Akonadi::MessageThreadingAttribute::MessageThreadingAttribute | ( | const MessageThreadingAttribute & | other | ) |
Copy constructor.
| Akonadi::MessageThreadingAttribute::~MessageThreadingAttribute | ( | ) |
Destructor.
Member Function Documentation
| MessageThreadingAttribute* Akonadi::MessageThreadingAttribute::clone | ( | ) | const [virtual] |
Creates a copy of this attribute.
Implements Akonadi::Attribute.
| void Akonadi::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.
| QList<Item::Id> Akonadi::MessageThreadingAttribute::perfectParents | ( | ) | const |
Returns the list of perfect parent message ids.
| QByteArray Akonadi::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.
| void Akonadi::MessageThreadingAttribute::setPerfectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of perfect parent message ids.
| void Akonadi::MessageThreadingAttribute::setSubjectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of possible parent message ids based on analyzing the subject.
| void Akonadi::MessageThreadingAttribute::setUnperfectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of non-perfect parent message ids.
| QList<Item::Id> Akonadi::MessageThreadingAttribute::subjectParents | ( | ) | const |
Returns the list of possible parent message ids based on analyzing the subject.
| QByteArray Akonadi::MessageThreadingAttribute::type | ( | ) | const [virtual] |
Returns the type of the attribute.
Implements Akonadi::Attribute.
| QList<Item::Id> Akonadi::MessageThreadingAttribute::unperfectParents | ( | ) | const |
Returns the list of non-perfect parent message ids.
The documentation for this class was generated from the following file:
KDE 4.6 API Reference