• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • MessageViewer
  • HtmlStatusBar
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
MessageViewer::HtmlStatusBar Class Reference

#include <htmlstatusbar.h>

Inheritance diagram for MessageViewer::HtmlStatusBar:
Inheritance graph
[legend]

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.
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 62 of file htmlstatusbar.h.

Member Enumeration Documentation

enum MessageViewer::HtmlStatusBar::UpdateMode
Enumerator
NoUpdate 
Update 

Definition at line 65 of file htmlstatusbar.h.

Constructor & Destructor Documentation

HtmlStatusBar::HtmlStatusBar ( QWidget *  parent = 0)
explicit

Definition at line 46 of file htmlstatusbar.cpp.

HtmlStatusBar::~HtmlStatusBar ( )

Definition at line 55 of file htmlstatusbar.cpp.

Member Function Documentation

void MessageViewer::HtmlStatusBar::clicked ( )
signal

The user has clicked the status bar.

bool MessageViewer::HtmlStatusBar::isHtml ( ) const
inline

Definition at line 75 of file htmlstatusbar.h.

bool MessageViewer::HtmlStatusBar::isMultipartHtml ( ) const
inline

Definition at line 77 of file htmlstatusbar.h.

bool MessageViewer::HtmlStatusBar::isMultipartPlain ( ) const
inline

Definition at line 78 of file htmlstatusbar.h.

bool MessageViewer::HtmlStatusBar::isNormal ( ) const
inline

Definition at line 76 of file htmlstatusbar.h.

Util::HtmlMode MessageViewer::HtmlStatusBar::mode ( ) const
inline
Returns
current mode.

Definition at line 74 of file htmlstatusbar.h.

void HtmlStatusBar::mousePressEvent ( QMouseEvent *  event)
protected

Definition at line 94 of file htmlstatusbar.cpp.

void HtmlStatusBar::setHtmlMode ( )
slot

Definition at line 72 of file htmlstatusbar.cpp.

void HtmlStatusBar::setMode ( Util::HtmlMode  m,
UpdateMode  mode = Update 
)
slot

Switch to mode m.

Definition at line 87 of file htmlstatusbar.cpp.

void HtmlStatusBar::setMultipartHtmlMode ( )
slot

Switch to "multipart html mode".

Definition at line 82 of file htmlstatusbar.cpp.

void HtmlStatusBar::setMultipartPlainMode ( )
slot

Switch to "multipart plain mode".

Definition at line 77 of file htmlstatusbar.cpp.

void HtmlStatusBar::setNormalMode ( )
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:
  • htmlstatusbar.h
  • htmlstatusbar.cpp
This file is part of the KDE documentation.
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.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal