• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • MessageThreadingAttribute
Public Member Functions | List of all members
Akonadi::MessageThreadingAttribute Class Reference

#include <messagethreadingattribute.h>

Inheritance diagram for Akonadi::MessageThreadingAttribute:
Akonadi::Attribute

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() [1/2]

MessageThreadingAttribute::MessageThreadingAttribute ( )

Creates an empty threading attribute.

Definition at line 32 of file messagethreadingattribute.cpp.

◆ MessageThreadingAttribute() [2/2]

MessageThreadingAttribute::MessageThreadingAttribute ( const MessageThreadingAttribute & other)

Copy constructor.

Definition at line 37 of file messagethreadingattribute.cpp.

◆ ~MessageThreadingAttribute()

MessageThreadingAttribute::~MessageThreadingAttribute ( )

Destructor.

Definition at line 43 of file messagethreadingattribute.cpp.

Member Function Documentation

◆ clone()

MessageThreadingAttribute * MessageThreadingAttribute::clone ( ) const
virtual

Creates a copy of this attribute.

Implements Akonadi::Attribute.

Definition at line 54 of file messagethreadingattribute.cpp.

◆ deserialize()

void MessageThreadingAttribute::deserialize ( const QByteArray & data)
virtual

Sets the data of this attribute, using the same encoding as returned by toByteArray().

Parameters
dataThe encoded attribute data.

Implements Akonadi::Attribute.

Definition at line 100 of file messagethreadingattribute.cpp.

◆ perfectParents()

QList< Item::Id > MessageThreadingAttribute::perfectParents ( ) const

Returns the list of perfect parent message ids.

Definition at line 116 of file messagethreadingattribute.cpp.

◆ serialized()

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 59 of file messagethreadingattribute.cpp.

◆ setPerfectParents()

void MessageThreadingAttribute::setPerfectParents ( const QList< Item::Id > & parents)

Sets the list of perfect parent message ids.

Definition at line 121 of file messagethreadingattribute.cpp.

◆ setSubjectParents()

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.

◆ setUnperfectParents()

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.

◆ subjectParents()

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.

◆ type()

QByteArray MessageThreadingAttribute::type ( ) const
virtual

Returns the type of the attribute.

Implements Akonadi::Attribute.

Definition at line 48 of file messagethreadingattribute.cpp.

◆ unperfectParents()

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:
  • messagethreadingattribute.h
  • messagethreadingattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal