MessageList::Core::FakeItem

MessageList::Core::FakeItem Class Reference

#include <messageitem.h>

Inheritance diagram for MessageList::Core::FakeItem:

Public Member Functions

bool hasAnnotation () const override
 
void setFakeTags (const QList< Tag * > &tagList)
 
QList< Tag * > tagList () const override
 
- Public Member Functions inherited from MessageList::Core::MessageItem
bool aboutToBeRemoved () const
 
QString accessibleText (const MessageList::Core::Theme *theme, int columnIndex)
 
Akonadi::Item akonadiItem () const
 
QString annotation () const
 
const QColorbackgroundColor () const
 
void editAnnotation (QWidget *parent)
 
EncryptionState encryptionState () const
 
const Tag * findTag (const QString &szTagId) const
 
QByteArray inReplyToIdMD5 () const
 
void invalidateAnnotationCache ()
 
void invalidateTagCache ()
 
bool isBold () const
 
bool isItalic () const
 
QByteArray messageIdMD5 () const
 
QByteArray referencesIdMD5 () const
 
void setAboutToBeRemoved (bool aboutToBeRemoved)
 
void setAkonadiItem (const Akonadi::Item &item)
 
void setEncryptionState (EncryptionState state)
 
void setInReplyToIdMD5 (const QByteArray &md5)
 
void setMessageIdMD5 (const QByteArray &md5)
 
void setReferencesIdMD5 (const QByteArray &md5)
 
void setSignatureState (SignatureState state)
 
void setStrippedSubjectMD5 (const QByteArray &md5)
 
void setSubjectIsPrefixed (bool subjectIsPrefixed)
 
void setThreadingStatus (ThreadingStatus threadingStatus)
 
SignatureState signatureState () const
 
QByteArray strippedSubjectMD5 () const
 
bool subjectIsPrefixed () const
 
void subTreeToList (QVector< MessageItem * > &list)
 
QString tagListDescription () const
 
const QColortextColor () const
 
ThreadingStatus threadingStatus () const
 
MessageItemtopmostMessage ()
 
unsigned long uniqueId () const
 
- Public Member Functions inherited from MessageList::Core::Item
virtual ~Item ()
 
int appendChildItem (Model *model, Item *child)
 
ItemchildItem (int idx) const
 
int childItemCount () const
 
QList< Item * > * childItems () const
 
void childItemStats (ChildItemStats &stats) const
 
time_t date () const
 
ItemdeepestItem ()
 
QString displayReceiver () const
 
QString displaySender () const
 
QString displaySenderOrReceiver () const
 
void dump (const QString &prefix)
 
ItemfirstChildItem () const
 
const QStringfolder () const
 
QString formattedDate () const
 
QString formattedMaxDate () const
 
QString formattedSize () const
 
bool hasAncestor (const Item *it) const
 
bool hasChildren () const
 
int indexOfChildItem (Item *item) const
 
InitialExpandStatus initialExpandStatus () const
 
void initialSetup (time_t date, size_t size, const QString &sender, const QString &receiver, bool useReceiver)
 
bool isViewable () const
 
ItemitemAbove ()
 
ItemitemAboveChild (Item *child)
 
ItemitemBelow ()
 
ItemitemBelowChild (Item *child)
 
qint64 itemId () const
 
void killAllChildItems ()
 
time_t maxDate () const
 
Itemparent () const
 
qint64 parentCollectionId () const
 
void rawAppendChildItem (Item *child)
 
const QStringreceiver () const
 
bool recomputeMaxDate ()
 
const QStringsender () const
 
const QStringsenderOrReceiver () const
 
void setDate (time_t date)
 
void setFolder (const QString &folder)
 
void setIndexGuess (int index)
 
void setInitialExpandStatus (InitialExpandStatus initialExpandStatus)
 
void setItemId (qint64 id)
 
void setMaxDate (time_t date)
 
void setParent (Item *pParent)
 
void setParentCollectionId (qint64 id)
 
void setReceiver (const QString &receiver)
 
void setSender (const QString &sender)
 
void setSize (size_t size)
 
void setStatus (Akonadi::MessageStatus status)
 
void setSubject (const QString &subject)
 
void setSubjectAndStatus (const QString &subject, Akonadi::MessageStatus status)
 
void setViewable (Model *model, bool bViewable)
 
size_t size () const
 
const Akonadi::MessageStatusstatus () const
 
QString statusDescription () const
 
const QStringsubject () const
 
void takeChildItem (Model *model, Item *child)
 
ItemtopmostNonRoot ()
 
Type type () const
 
bool useReceiver () const
 
- Public Member Functions inherited from MessageList::Core::ModelInvariantIndex
int currentModelIndexRow ()
 
bool isValid () const
 

Additional Inherited Members

- Public Types inherited from MessageList::Core::MessageItem
enum  EncryptionState { NotEncrypted, PartiallyEncrypted, FullyEncrypted, EncryptionStateUnknown }
 
enum  SignatureState { NotSigned, PartiallySigned, FullySigned, SignatureStateUnknown }
 
enum  ThreadingStatus { PerfectParentFound, ImperfectParentFound, ParentMissing, NonThreadable }
 
- Public Types inherited from MessageList::Core::Item
enum  InitialExpandStatus { ExpandNeeded, NoExpandNeeded, ExpandExecuted }
 
enum  Type { GroupHeader, Message, InvisibleRoot }
 
- Static Public Member Functions inherited from MessageList::Core::MessageItem
static void setGeneralFont (const QFont &font)
 
static void setImportantMessageColor (const QColor &color)
 
static void setImportantMessageFont (const QFont &font)
 
static void setToDoMessageColor (const QColor &color)
 
static void setToDoMessageFont (const QFont &font)
 
static void setUnreadMessageColor (const QColor &color)
 
static void setUnreadMessageFont (const QFont &font)
 
- Protected Member Functions inherited from MessageList::Core::MessageItem
 MessageItem (MessageItemPrivate *dd)
 
- Protected Member Functions inherited from MessageList::Core::Item
 Item (Type type)
 
 Item (Type type, ItemPrivate *dd)
 
- Protected Attributes inherited from MessageList::Core::Item
ItemPrivate *const d_ptr
 

Detailed Description

A message item that can have a fake tag list and a fake annotation.

Definition at line 203 of file messageitem.h.

Member Function Documentation

bool FakeItem::hasAnnotation ( ) const
overridevirtual

Reimplemented to always return true.

Reimplemented from MessageList::Core::MessageItem.

Definition at line 651 of file messageitem.cpp.

void FakeItem::setFakeTags ( const QList< Tag * > &  tagList)

Sets a list of fake tags for this item.

Definition at line 645 of file messageitem.cpp.

QList< MessageItem::Tag * > FakeItem::tagList ( ) const
overridevirtual

Reimplemented to return the fake tag list.

Reimplemented from MessageList::Core::MessageItem.

Definition at line 639 of file messageitem.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Sep 19 2020 23:12:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.