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 |
Public Member Functions inherited from Akonadi::Attribute | |
virtual | ~Attribute () |
Additional Inherited Members | |
Public Types inherited from Akonadi::Attribute | |
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 54 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 100 of file messagethreadingattribute.cpp.
QList< Item::Id > MessageThreadingAttribute::perfectParents | ( | ) | const |
Returns the list of perfect parent message ids.
Definition at line 116 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 59 of file messagethreadingattribute.cpp.
void MessageThreadingAttribute::setPerfectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of perfect parent message ids.
Definition at line 121 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 141 of file messagethreadingattribute.cpp.
void MessageThreadingAttribute::setUnperfectParents | ( | const QList< Item::Id > & | parents | ) |
Sets the list of non-perfect parent message ids.
Definition at line 131 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 136 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 126 of file messagethreadingattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.