an Extendable KDE Blogging Client Logo

Blokkal::Ui::HtmlEntryTextEdit Class Reference

Edits entry texts as HTML. More...

#include <htmlentrytextedit.h>

Inheritance diagram for Blokkal::Ui::HtmlEntryTextEdit:

List of all members.


void plainTextChanged (void)

Public Member Functions

void frameSelection (const QString &front, const QString &tail)
 HtmlEntryTextEdit (QWidget *parent=0)
void insertTextAtCursor (const QString &text)
void setDropProxy (Blokkal::Ui::DropProxy *proxy)
virtual ~HtmlEntryTextEdit (void)

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event)
virtual void dropEvent (QDropEvent *event)

Detailed Description

Edits entry texts as HTML.

This class provides some utilities to HTML entry texts.

Martin Mueller <>

Definition at line 42 of file htmlentrytextedit.h.

Constructor & Destructor Documentation

Blokkal::Ui::HtmlEntryTextEdit::HtmlEntryTextEdit ( QWidget *  parent = 0  ) 

Creates a new HtmlEntryTextEdit.

parent parent widget

Definition at line 239 of file htmlentrytextedit.cpp.

Blokkal::Ui::HtmlEntryTextEdit::~HtmlEntryTextEdit ( void   )  [virtual]


Definition at line 253 of file htmlentrytextedit.cpp.

Member Function Documentation

void Blokkal::Ui::HtmlEntryTextEdit::contextMenuEvent ( QContextMenuEvent *  event  )  [protected, virtual]

Overridden to hide the autospellcheck item from the popup menu

Definition at line 327 of file htmlentrytextedit.cpp.

void Blokkal::Ui::HtmlEntryTextEdit::dropEvent ( QDropEvent *  event  )  [protected, virtual]

Displays the drop context menu

event the drop event

Definition at line 297 of file htmlentrytextedit.cpp.

void Blokkal::Ui::HtmlEntryTextEdit::frameSelection ( const QString &  front,
const QString &  tail 

If some text is selected, the selected text is framed by front and tail. If no text is selected the current cursor position is used instead.

front text to place in front of the selection
tail text to place after the selection

Definition at line 267 of file htmlentrytextedit.cpp.

void Blokkal::Ui::HtmlEntryTextEdit::insertTextAtCursor ( const QString &  text  ) 

Inserts text at the current cursor position

text text to insert

Definition at line 258 of file htmlentrytextedit.cpp.

void Blokkal::Ui::HtmlEntryTextEdit::plainTextChanged ( void   )  [signal]

This signal is emitted when the plain text content has changed. Formatting changes are ignored. Use this instead of QTextEdit::textChanged()

void Blokkal::Ui::HtmlEntryTextEdit::setDropProxy ( Blokkal::Ui::DropProxy proxy  ) 

Sets the DropProxy for this widget.

proxy the new drop proxy

Definition at line 377 of file htmlentrytextedit.cpp.

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