headeritem.h
209 static TQString generate_key( KMHeaders *headers, KMMsgBase *msg, const KPaintInfo *paintInfo, int sortOrder );
Visual representation of a member of the set of displayables (mails in the current folder).
Definition: headeritem.h:164
SortCacheItem * sortCacheItem() const
Returns the KMail::SortCacheItem associated with this display item.
Definition: headeritem.h:231
void setAboutToBeDeleted(bool val)
Set the item to be in about-to-be-deleted state, which means it cannot be selected and will be painte...
Definition: headeritem.h:225
int msgId() const
Return the msgId of the message associated with this item.
Definition: headeritem.cpp:113
bool aboutToBeDeleted() const
Returns whether the item is about to be removed from the list view as a result of some user action.
Definition: headeritem.h:222
void setSortCacheItem(SortCacheItem *item)
Associate a KMail::SortCacheItem with this item.
Definition: headeritem.h:229
void setOpenRecursive(bool open)
Expands all children of the list view item.
Definition: headeritem.cpp:149
void setMsgId(int aMsgId)
Set the message id of this item, which is the offset/index in the folder currently displayed by the K...
Definition: headeritem.cpp:72
Represents an item in the set of mails to be displayed but only as far as sorting,...
Definition: headeritem.h:54
bool isImperfectlyThreaded() const
Returs whether the item is so far imperfectly threaded.
Definition: headeritem.h:74
SortCacheItem * parent() const
The parent node of the item in the threading hierarchy.
Definition: headeritem.h:68
const TQPtrList< SortCacheItem > * sortedChildren() const
The sorted children are an array of sortcache items we know are below the current one and are already...
Definition: headeritem.h:85
void addUnsortedChild(SortCacheItem *i)
Add an item to this itme's list of unsorted children.
Definition: headeritem.h:97
void clearChildren()
Clear the sorted and unsorted children datastructures.
Definition: headeritem.h:108
TQPtrList< SortCacheItem > * subjectThreadingList() const
The list of mails with a certain subject that this item is on.
Definition: headeritem.h:140
void addSortedChild(SortCacheItem *i)
Add an item to this itme's list of already sorted children.
Definition: headeritem.h:92
void setImperfectlyThreaded(bool val)
Set whether the item is currently imperfectly threaded (by References or Subject, not by In-Reply-To)...
Definition: headeritem.h:78
bool hasChildren() const
Returns whether the item has other items below it.
Definition: headeritem.h:81
void setSubjectThreadingList(TQPtrList< SortCacheItem > *list)
Set the list of mails with a certain subject that this item is on.
Definition: headeritem.h:138
SortCacheItem ** unsortedChildren(int &count) const
The unsorted children are an array of sortcache items we know are below the current one,...
Definition: headeritem.h:89