akonadi
#include <messagethreadingattribute.h>

Public Member Functions | |
MessageThreadingAttribute () | |
MessageThreadingAttribute (const MessageThreadingAttribute &other) | |
~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 |
![]() | |
virtual | ~Attribute () |
Additional Inherited Members | |
![]() | |
typedef QList< Attribute * > | List |
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
MessageThreadingAttribute::MessageThreadingAttribute | ( | ) |
Creates an empty threading attribute.
Definition at line 32 of file messagethreadingattribute.cpp.
MessageThreadingAttribute::MessageThreadingAttribute | ( | const MessageThreadingAttribute & | other | ) |
Copy constructor.
Definition at line 37 of file messagethreadingattribute.cpp.
MessageThreadingAttribute::~MessageThreadingAttribute | ( | ) |
Destructor.
Definition at line 43 of file messagethreadingattribute.cpp.
Member Function Documentation
|
virtual |
Creates a copy of this attribute.
Implements Akonadi::Attribute.
Definition at line 53 of file messagethreadingattribute.cpp.
|
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.
QList< Item::Id > MessageThreadingAttribute::perfectParents | ( | ) | const |
Returns the list of perfect parent message ids.
Definition at line 107 of file messagethreadingattribute.cpp.
|
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.
void MessageThreadingAttribute::setPerfectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of perfect parent message ids.
Definition at line 112 of file messagethreadingattribute.cpp.
void MessageThreadingAttribute::setSubjectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of possible parent message ids based on analyzing the subject.
Definition at line 132 of file messagethreadingattribute.cpp.
void MessageThreadingAttribute::setUnperfectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of non-perfect parent message ids.
Definition at line 122 of file messagethreadingattribute.cpp.
QList< Item::Id > MessageThreadingAttribute::subjectParents | ( | ) | const |
Returns the list of possible parent message ids based on analyzing the subject.
Definition at line 127 of file messagethreadingattribute.cpp.
|
virtual |
Returns the type of the attribute.
Implements Akonadi::Attribute.
Definition at line 48 of file messagethreadingattribute.cpp.
QList< Item::Id > MessageThreadingAttribute::unperfectParents | ( | ) | const |
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:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.