KMail::HtmlStatusBar Class Reference

#include <htmlstatusbar.h>

Inherits TQLabel.

Public Types

enum  Mode { Normal , Html , Neutral }
 

Public Slots

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

Public Member Functions

 HtmlStatusBar (TQWidget *parent=0, const char *name=0, WFlags f=0)
 
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 kloec.nosp@m.ker@.nosp@m.kde.o.nosp@m.rg, Marc Mutz mutz@.nosp@m.kde..nosp@m.org

Definition at line 61 of file htmlstatusbar.h.

Member Function Documentation

◆ mode()

Mode KMail::HtmlStatusBar::mode ( ) const
inline
Returns
current mode.

Definition at line 75 of file htmlstatusbar.h.

◆ setHtmlMode

void KMail::HtmlStatusBar::setHtmlMode ( )
slot

Switch to "html mode".

Definition at line 73 of file htmlstatusbar.cpp.

◆ setMode

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

Switch to mode m.

Definition at line 81 of file htmlstatusbar.cpp.

◆ setNeutralMode

void KMail::HtmlStatusBar::setNeutralMode ( )
slot

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

Definition at line 77 of file htmlstatusbar.cpp.

◆ setNormalMode

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: