RtfEdit Class Reference

A widget to edit RTF text. More...

#include <rtfedit.h>

List of all members.

Public Member Functions

 RtfEdit (QWidget *parent=0)
 ~RtfEdit ()
void addContextActions (QList< QAction * > actions)
bool canInsertFromMimeData (const QMimeData *source) const
void insertFromMimeData (const QMimeData *source)

Detailed Description

A widget to edit RTF text.

This widget is used by the RichTextEdit. It is an area to edit the RTF text.

Author:
Manuel Unglaub

Constructor & Destructor Documentation

RtfEdit::RtfEdit ( QWidget *  parent = 0  ) 

The constructor.

Constructs the RtfEdit which is a child of parent.

Parameters:
parent The parent of this RtfEdit.
RtfEdit::~RtfEdit (  ) 

The destructor.

Destroys the object.


Member Function Documentation

void RtfEdit::addContextActions ( QList< QAction * >  actions  ) 

Add actions to the context menu of this RtfEdit.

Parameters:
actions The actions which will be added to the context menu.
bool RtfEdit::canInsertFromMimeData ( const QMimeData *  source  )  const

This function returns true if the contents of the MIME data object, specified by source, can be decoded and inserted into the document.

Parameters:
source The MIME data object.
Returns:
True if the contents of the MIME data object can be decoded and inserted into the document.
void RtfEdit::insertFromMimeData ( const QMimeData *  source  ) 

This function inserts the contents of the MIME data object, specified by source, into the RtfEdit at the current cursor position.

Parameters:
source The MIME data object which will be inserted.

The documentation for this class was generated from the following files:
Generated on Fri May 14 19:12:52 2010 for Silence by  doxygen 1.6.3