kmail

KMail::HtmlStatusBar Class Reference

The HTML statusbar widget for use with the reader. More...

#include <htmlstatusbar.h>

Inheritance diagram for KMail::HtmlStatusBar:

List of all members.


Public Types

enum  Mode { Normal, Html, Neutral }

Public Slots

void setHtmlMode ()
void setMode (Mode m)
void setNeutralMode ()
void setNormalMode ()

Public Member Functions

 HtmlStatusBar (QWidget *parent=0, const char *name=0, WFlags f=0)
bool isHtml () const
bool isNeutral () const
bool isNormal () const
Mode mode () const
virtual ~HtmlStatusBar ()

Detailed Description

The HTML statusbar widget for use with the reader.

The HTML status bar is a small widget that acts as an indicator for the message content. It can be in one of two modes:

Normal
Default. No HTML.
Neutral
Temporary value. Used while the real mode is undetermined.
Html
HTML content is being shown. Since HTML mails can mimic all sorts of KMail markup in the reader, this provides out-of-band information about the presence of (rendered) HTML.

Author:
Ingo Kloecker <kloecker@kde.org>, Marc Mutz <mutz@kde.org>

Definition at line 61 of file htmlstatusbar.h.


Member Enumeration Documentation

Enumerator:
Normal 
Html 
Neutral 

Definition at line 67 of file htmlstatusbar.h.


Constructor & Destructor Documentation

KMail::HtmlStatusBar::HtmlStatusBar ( QWidget parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Definition at line 51 of file htmlstatusbar.cpp.

KMail::HtmlStatusBar::~HtmlStatusBar (  )  [virtual]

Definition at line 61 of file htmlstatusbar.cpp.


Member Function Documentation

bool KMail::HtmlStatusBar::isHtml (  )  const [inline]

Definition at line 75 of file htmlstatusbar.h.

bool KMail::HtmlStatusBar::isNeutral (  )  const [inline]

Definition at line 77 of file htmlstatusbar.h.

bool KMail::HtmlStatusBar::isNormal (  )  const [inline]

Definition at line 76 of file htmlstatusbar.h.

Mode KMail::HtmlStatusBar::mode (  )  const [inline]

Returns:
current mode.

Definition at line 74 of file htmlstatusbar.h.

void KMail::HtmlStatusBar::setHtmlMode (  )  [slot]

Switch to "html mode".

Definition at line 73 of file htmlstatusbar.cpp.

void KMail::HtmlStatusBar::setMode ( Mode  m  )  [slot]

Switch to mode m.

Definition at line 81 of file htmlstatusbar.cpp.

void KMail::HtmlStatusBar::setNeutralMode (  )  [slot]

Switch to "neutral" mode (currently == normal mode).

Definition at line 77 of file htmlstatusbar.cpp.

void KMail::HtmlStatusBar::setNormalMode (  )  [slot]

Switch to "normal mode".

Definition at line 69 of file htmlstatusbar.cpp.


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