messageviewer
#include <htmlstatusbar.h>
Public Types | |
enum | UpdateMode { NoUpdate, Update } |
Public Slots | |
void | setHtmlMode () |
void | setMode (Util::HtmlMode m, UpdateMode mode=Update) |
void | setMultipartHtmlMode () |
void | setMultipartPlainMode () |
void | setNormalMode () |
Signals | |
void | clicked () |
Public Member Functions | |
HtmlStatusBar (QWidget *parent=0) | |
~HtmlStatusBar () | |
bool | isHtml () const |
bool | isMultipartHtml () const |
bool | isMultipartPlain () const |
bool | isNormal () const |
Util::HtmlMode | mode () const |
void | update () |
Protected Member Functions | |
void | mousePressEvent (QMouseEvent *event) |
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 four modes:
Normal
- Default. No HTML.
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.
MultipartPlain
- Viewed as plain text with HTML part also available.
MultipartHtml
- Viewed as Html with plain text part also available.
Definition at line 62 of file htmlstatusbar.h.
Member Enumeration Documentation
Enumerator | |
---|---|
NoUpdate | |
Update |
Definition at line 65 of file htmlstatusbar.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 46 of file htmlstatusbar.cpp.
HtmlStatusBar::~HtmlStatusBar | ( | ) |
Definition at line 55 of file htmlstatusbar.cpp.
Member Function Documentation
|
signal |
The user has clicked the status bar.
|
inline |
Definition at line 75 of file htmlstatusbar.h.
|
inline |
Definition at line 77 of file htmlstatusbar.h.
|
inline |
Definition at line 78 of file htmlstatusbar.h.
|
inline |
Definition at line 76 of file htmlstatusbar.h.
|
inline |
- Returns
- current mode.
Definition at line 74 of file htmlstatusbar.h.
|
protected |
Definition at line 94 of file htmlstatusbar.cpp.
|
slot |
Definition at line 72 of file htmlstatusbar.cpp.
|
slot |
Switch to mode m
.
Definition at line 87 of file htmlstatusbar.cpp.
|
slot |
Switch to "multipart html mode".
Definition at line 82 of file htmlstatusbar.cpp.
|
slot |
Switch to "multipart plain mode".
Definition at line 77 of file htmlstatusbar.cpp.
|
slot |
Switch to "normal mode".
Definition at line 67 of file htmlstatusbar.cpp.
void HtmlStatusBar::update | ( | ) |
Definition at line 57 of file htmlstatusbar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.