Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
UiStyle::StyledMessage Class Reference

#include </tmp/quassel/src/uisupport/uistyle.h>

Inheritance diagram for UiStyle::StyledMessage:
Collaboration diagram for UiStyle::StyledMessage:

Protected Member Functions

void style () const

Private Member Functions

Q_DECLARE_TR_FUNCTIONS(UiStyle::StyledMessage)
public QString 
decoratedTimestamp () const
QString plainSender () const
 Nickname (no decorations) for Plain and Notice, empty else.
QString decoratedSender () const
const QString & plainContents () const
const FormatListcontentsFormatList () const
quint8 senderHash () const

Private Attributes

StyledString _contents
quint8 _senderHash

Detailed Description

Definition at line 204 of file uistyle.h.

Member Function Documentation

QString decoratedTimestamp ( ) const
private

Definition at line 794 of file uistyle.cpp.

References UiStyle::timestampFormatString().

Referenced by ChatLineModelItem::timestampData().

QString plainSender ( ) const
private

Nickname (no decorations) for Plain and Notice, empty else.

Definition at line 800 of file uistyle.cpp.

References nickFromMask().

Referenced by ChatLineModelItem::senderData().

QString decoratedSender ( ) const
private

Definition at line 812 of file uistyle.cpp.

Referenced by ChatLineModelItem::senderData().

const QString & plainContents ( ) const
private
const UiStyle::FormatList & contentsFormatList ( ) const
private
quint8 senderHash ( ) const
private

Definition at line 858 of file uistyle.cpp.

References nickFromMask().

Referenced by ChatLineModelItem::messageLabel().

Member Data Documentation

StyledString _contents
mutableprivate

Definition at line 224 of file uistyle.h.

Referenced by style().

quint8 _senderHash
mutableprivate

Definition at line 225 of file uistyle.h.


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