KDE PIM / Developers / API Docs / kmail

KMail::SortCacheItem Class Reference

Represents an item in the set of mails to be displayed but only as far as sorting, threading and reading/writing of the current sort order to a disk cache is concerned. More...

#include <headeritem.h>

List of all members.

Public Member Functions


Detailed Description

Represents an item in the set of mails to be displayed but only as far as sorting, threading and reading/writing of the current sort order to a disk cache is concerned.

Each such item is paired with a HeaderItem, which holds the graphical representation of each item (mail). This is what the threading trees are built of.


Member Function Documentation

bool KMail::SortCacheItem::isImperfectlyThreaded  )  const [inline]
 

if an item is imperfectly threaded (by References or subject, not by In-Reply-To) it will be reevalutated when a new mail comes in.

It could be the perfect parent.

const QPtrList<SortCacheItem>* KMail::SortCacheItem::sortedChildren  )  const [inline]
 

The sorted children are an array of sortcache items we know are below the current one and are already properly sorted (as read from the cache ).

SortCacheItem** KMail::SortCacheItem::unsortedChildren int &  count  )  const [inline]
 

The unsorted children are an array of sortcache items we know are below the current one, but are yet to be threaded and sorted properly.

void KMail::SortCacheItem::clearChildren  )  [inline]
 

Clear the sorted and unsorted children datastructures.

HeaderItem* KMail::SortCacheItem::item  )  const [inline]
 

the corresponding HeaderItem

const QString& KMail::SortCacheItem::key  )  const [inline]
 

sort key as used by the listview

int KMail::SortCacheItem::offset  )  const [inline]
 

offset in the cache file stream


The documentation for this class was generated from the following file: