MessageViewer::HeaderStyle

Search for usage in LXR

MessageViewer::HeaderStyle Class Referenceabstract

#include <headerstyle.h>

Inheritance diagram for MessageViewer::HeaderStyle:

Public Member Functions

bool allowAsync () const
 
QString attachmentHtml () const
 
virtual QString format (KMime::Message *message) const =0
 
const HeaderStrategyheaderStrategy () const
 
bool isPrinting () const
 
bool isTopLevel () const
 
Akonadi::MessageStatus messageStatus () const
 
virtual const char * name () const =0
 
MimeTreeParser::NodeHelpernodeHelper () const
 
bool readOnlyMessage () const
 
void setAllowAsync (bool allowAsync)
 
void setAttachmentHtml (const QString &html)
 
void setHeaderStrategy (const HeaderStrategy *strategy)
 
void setMessageStatus (Akonadi::MessageStatus status)
 
void setNodeHelper (MimeTreeParser::NodeHelper *nodeHelper)
 
void setPrinting (bool printing)
 
void setReadOnlyMessage (bool readOnlyMessage)
 
void setShowEmoticons (bool b)
 
void setSourceObject (QObject *sourceObject)
 
void setTheme (const GrantleeTheme::Theme &theme)
 
void setTopLevel (bool topLevel)
 
void setVCardName (const QString &vCardName)
 
bool showEmoticons () const
 
QObjectsourceObject () const
 
GrantleeTheme::Theme theme () const
 
QString vCardName () const
 

Detailed Description

This class encapsulates the visual appearance of message headers.

Together with HeaderStrategy, which determines which of the headers present in the message be shown, it is responsible for the formatting of message headers.

Encapsulates visual appearance of message headers.

Author
Marc Mutz mutz@.nosp@m.kde..nosp@m.org
See also
HeaderStrategy

Definition at line 46 of file headerstyle.h.

Constructor & Destructor Documentation

◆ HeaderStyle()

HeaderStyle::HeaderStyle ( )
protected

Definition at line 38 of file headerstyle.cpp.

Member Function Documentation

◆ allowAsync()

bool HeaderStyle::allowAsync ( ) const

Definition at line 110 of file headerstyle.cpp.

◆ attachmentHtml()

QString HeaderStyle::attachmentHtml ( ) const

Definition at line 50 of file headerstyle.cpp.

◆ headerStrategy()

const HeaderStrategy * HeaderStyle::headerStrategy ( ) const

Definition at line 60 of file headerstyle.cpp.

◆ isPrinting()

bool HeaderStyle::isPrinting ( ) const

Definition at line 80 of file headerstyle.cpp.

◆ isTopLevel()

bool HeaderStyle::isTopLevel ( ) const

Definition at line 90 of file headerstyle.cpp.

◆ messageStatus()

Akonadi::MessageStatus HeaderStyle::messageStatus ( ) const

Definition at line 130 of file headerstyle.cpp.

◆ nodeHelper()

MimeTreeParser::NodeHelper * HeaderStyle::nodeHelper ( ) const

Definition at line 100 of file headerstyle.cpp.

◆ readOnlyMessage()

bool HeaderStyle::readOnlyMessage ( ) const

Definition at line 145 of file headerstyle.cpp.

◆ setAllowAsync()

void HeaderStyle::setAllowAsync ( bool allowAsync)

Definition at line 105 of file headerstyle.cpp.

◆ setAttachmentHtml()

void HeaderStyle::setAttachmentHtml ( const QString & html)

Definition at line 45 of file headerstyle.cpp.

◆ setHeaderStrategy()

void HeaderStyle::setHeaderStrategy ( const HeaderStrategy * strategy)

Definition at line 55 of file headerstyle.cpp.

◆ setMessageStatus()

void HeaderStyle::setMessageStatus ( Akonadi::MessageStatus status)

Definition at line 125 of file headerstyle.cpp.

◆ setNodeHelper()

void HeaderStyle::setNodeHelper ( MimeTreeParser::NodeHelper * nodeHelper)

Definition at line 95 of file headerstyle.cpp.

◆ setPrinting()

void HeaderStyle::setPrinting ( bool printing)

Definition at line 75 of file headerstyle.cpp.

◆ setReadOnlyMessage()

void HeaderStyle::setReadOnlyMessage ( bool readOnlyMessage)

Definition at line 150 of file headerstyle.cpp.

◆ setShowEmoticons()

void HeaderStyle::setShowEmoticons ( bool b)

Definition at line 160 of file headerstyle.cpp.

◆ setSourceObject()

void HeaderStyle::setSourceObject ( QObject * sourceObject)

Definition at line 115 of file headerstyle.cpp.

◆ setTheme()

void HeaderStyle::setTheme ( const GrantleeTheme::Theme & theme)

Definition at line 135 of file headerstyle.cpp.

◆ setTopLevel()

void HeaderStyle::setTopLevel ( bool topLevel)

Definition at line 85 of file headerstyle.cpp.

◆ setVCardName()

void HeaderStyle::setVCardName ( const QString & vCardName)

Definition at line 65 of file headerstyle.cpp.

◆ showEmoticons()

bool HeaderStyle::showEmoticons ( ) const

Definition at line 155 of file headerstyle.cpp.

◆ sourceObject()

QObject * HeaderStyle::sourceObject ( ) const

Definition at line 120 of file headerstyle.cpp.

◆ theme()

GrantleeTheme::Theme HeaderStyle::theme ( ) const

Definition at line 140 of file headerstyle.cpp.

◆ vCardName()

QString HeaderStyle::vCardName ( ) const

Definition at line 70 of file headerstyle.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:44 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.