kmail Library API Documentation

KMail::HtmlStatusBar Class Reference

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

#include <htmlstatusbar.h>

Inheritance diagram for KMail::HtmlStatusBar:

QLabel List of all members.

Public Types

enum  Mode { Normal, Html, Neutral }

Public Slots

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

Public Methods

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

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 Function Documentation

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

Returns:
current mode.

Definition at line 74 of file htmlstatusbar.h.

Referenced by setMode().

void KMail::HtmlStatusBar::setHtmlMode   [slot]
 

Switch to "html mode".

Definition at line 71 of file htmlstatusbar.cpp.

References setMode().

void KMail::HtmlStatusBar::setNormalMode   [slot]
 

Switch to "normal mode".

Definition at line 67 of file htmlstatusbar.cpp.

References setMode().

void KMail::HtmlStatusBar::setNeutralMode   [slot]
 

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

Definition at line 75 of file htmlstatusbar.cpp.

References setMode().

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

Switch to mode m.

Definition at line 79 of file htmlstatusbar.cpp.

References mode().

Referenced by setHtmlMode(), setNeutralMode(), and setNormalMode().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:37 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003