messagelist
messageitem.cpp
Go to the documentation of this file.
215 const QString name = nepomukTag.property( Vocabulary::MessageTag::backgroundColor() ).toString();
219 messageListTag->setPriority( nepomukTag.property( Vocabulary::MessageTag::priority() ).toInt() );
239 s_nepomukRetriever->requestResource( const_cast<MessageItemPrivate*>(this), mAkonadiItem.url() );
292 s_nepomukRetriever->requestResource( const_cast<MessageItemPrivate*>(d), d->mAkonadiItem.url() );
605 return status().isRead() ? i18nc( "Status of an item", "Read" ) : i18nc( "Status of an item", "Unread" );
607 return accessibleTextForField( Theme::ContentItem::ReadStateIcon ) + accessibleTextForField( Theme::ContentItem::RepliedStateIcon );
The ContentItem class defines a content item inside a Row.
Definition: theme.h:73
Tag(const QPixmap &pix, const QString &tagName, const QString &tagId)
Definition: messageitem.cpp:62
void setFakeTags(const QList< Tag * > &tagList)
Sets a list of fake tags for this item.
Definition: messageitem.cpp:710
The icon that displays the unread/read state (never disabled)
Definition: theme.h:154
QString annotation() const
Returns the annotation of the message, given that hasAnnotation() is true.
Definition: messageitem.cpp:296
void setBackgroundColor(const QColor &backgroundColor)
Definition: messageitem.cpp:115
static void setUnreadMessageColor(const QColor &color)
Definition: messageitem.cpp:649
Definition: messageitem.h:50
const QList< ContentItem * > & rightItems() const
Returns the list of right aligned items for this row.
Definition: theme.h:512
void setThreadingStatus(ThreadingStatus threadingStatus)
Definition: messageitem.cpp:554
void subTreeToList(QList< MessageItem * > &list)
Appends the whole subtree originating at this item to the specified list.
Definition: messageitem.cpp:635
const QString & senderOrReceiver() const
Returns the sender or the receiver, depending on the underlying StorageModel settings.
Definition: item.cpp:462
QColor backgroundColor() const
Definition: messageitem.cpp:95
The combined icon that displays the unread/read/replied/forwarded state (never disabled) ...
Definition: theme.h:210
MessageItem * topmostMessage()
Definition: messageitem.cpp:578
void setTextColor(const QColor &textColor)
Definition: messageitem.cpp:110
static void setImportantMessageColor(const QColor &color)
Definition: messageitem.cpp:655
void setPriority(int priority)
Definition: messageitem.cpp:125
virtual bool hasAnnotation() const
Reimplemented to always return true.
Definition: messageitem.cpp:716
The Row class defines a row of items inside a Column.
Definition: theme.h:466
void setStrippedSubjectMD5(const QByteArray &md5)
Definition: messageitem.cpp:530
EncryptionState encryptionState() const
Definition: messageitem.cpp:464
void setAboutToBeRemoved(bool aboutToBeRemoved)
Definition: messageitem.cpp:542
QString formattedSize() const
A string with a text rappresentation of size().
Definition: item.cpp:255
Definition: item_p.h:41
void setMessageIdMD5(const QByteArray &md5)
Definition: messageitem.cpp:482
void setAkonadiItem(const Akonadi::Item &item)
Definition: messageitem.cpp:572
QList< MessageItem::Tag * > getTagList() const
Returns the list of tags. This is calculated on demand and cached in mTagList.
Definition: messageitem.cpp:236
this message might belong to a thread but its parent is actually missing
Definition: messageitem.h:80
static void setToDoMessageFont(const QFont &font)
Definition: messageitem.cpp:685
void editAnnotation()
Shows a dialog to edit or delete the annotation.
Definition: messageitem.cpp:308
QColor textColor() const
Definition: messageitem.cpp:90
const QList< Row * > & messageRows() const
Returns the list of rows visible in this column for a MessageItem.
Definition: theme.h:773
The icon that displays the replied/forwarded state (may be disabled)
Definition: theme.h:162
void setInReplyToIdMD5(const QByteArray &md5)
Definition: messageitem.cpp:494
unsigned long uniqueId() const
Definition: messageitem.cpp:560
const MessageItem::Tag * bestTag() const
Returns the tag with the highest priority, or 0 if there are no tags.
Definition: messageitem.cpp:182
virtual QList< Tag * > tagList() const
Reimplemented to return the fake tag list.
Definition: messageitem.cpp:704
virtual bool hasAnnotation() const
Returns true if this message has an annotation.
Definition: messageitem.cpp:286
Akonadi::Item akonadiItem() const
Definition: messageitem.cpp:566
QByteArray strippedSubjectMD5() const
Definition: messageitem.cpp:524
Display the subject of the message item.
Definition: theme.h:130
void setEncryptionState(EncryptionState state)
Definition: messageitem.cpp:470
QByteArray messageIdMD5() const
Definition: messageitem.cpp:476
bool aboutToBeRemoved() const
Definition: messageitem.cpp:536
const Tag * findTag(const QString &szTagId) const
Returns Tag associated to this message that has the specified id or 0 if no such tag exists...
Definition: messageitem.cpp:331
SignatureState signatureState() const
Definition: messageitem.cpp:452
QString tagListDescription() const
Definition: messageitem.cpp:337
void setReferencesIdMD5(const QByteArray &md5)
Definition: messageitem.cpp:506
bool tagListInitialized() const
Definition: messageitem.cpp:246
Formatted date time of the message/group.
Definition: theme.h:134
const QList< ContentItem * > & leftItems() const
Returns the list of left aligned items for this row.
Definition: theme.h:481
void setSignatureState(SignatureState state)
Definition: messageitem.cpp:458
QString formattedDate() const
A string with a text rappresentation of date() obtained via Manager.
Definition: item.cpp:260
Specialized version of the AsyncNepomukResourceRetriever that can deal with non-QObject receivers...
Definition: callbacknepomukresourceretriever.h:32
From: or To: strip, depending on the folder settings.
Definition: theme.h:138
A single item of the MessageList tree managed by MessageList::Model.
Definition: item.h:52
A message item that can have a fake tag list and a fake annotation.
Definition: messageitem.h:218
ThreadingStatus threadingStatus() const
Definition: messageitem.cpp:548
void setSubjectIsPrefixed(bool subjectIsPrefixed)
Definition: messageitem.cpp:512
QColor backgroundColor() const
Definition: messageitem.cpp:382
static void setUnreadMessageFont(const QFont &font)
Definition: messageitem.cpp:673
void invalidateAnnotationCache()
Deletes the cache of the annotation.
Definition: messageitem.cpp:177
virtual QList< Tag * > tagList() const
Returns the list of tags for this item.
Definition: messageitem.cpp:280
const MessageItem::Tag * findTagInternal(const QString &szTagId) const
Linear search in the list of tags.
Definition: messageitem.cpp:322
static void setImportantMessageFont(const QFont &font)
Definition: messageitem.cpp:679
static void setToDoMessageColor(const QColor &color)
Definition: messageitem.cpp:661
~MessageItemPrivate()
Definition: messageitem.cpp:162
void resourceReceived(const Nepomuk2::Resource &resource)
Callback for async Nepomuk resource retrieval.
Definition: messageitem.cpp:251
bool subjectIsPrefixed() const
Definition: messageitem.cpp:518
QString accessibleText(const MessageList::Core::Theme *theme, int columnIndex)
Definition: messageitem.cpp:614
Column * column(int idx) const
Returns a pointer to the column at the specified index or 0 if there is no such column.
Definition: theme.h:946
FakeItemPrivate(FakeItem *qq)
Definition: messageitem.cpp:691
const Akonadi::MessageStatus & status() const
Returns the status associated to this Item.
Definition: item.cpp:402
The Theme class defines the visual appearance of the MessageList.
Definition: theme.h:65
static void setGeneralFont(const QFont &font)
Definition: messageitem.cpp:667
Item * parent() const
Returns the parent Item in the tree, or 0 if this item isn't attached to the tree.
Definition: item.cpp:392
An invariant index that can be ALWAYS used to reference an item inside a QAbstractItemModel.
Definition: modelinvariantindex.h:44
void setFont(const QFont &font)
Definition: messageitem.cpp:120
QByteArray referencesIdMD5() const
Definition: messageitem.cpp:500
QByteArray inReplyToIdMD5() const
Definition: messageitem.cpp:488
void invalidateAnnotationCache()
Same as invalidateTagCache(), only for the annotation.
Definition: messageitem.cpp:356
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.