Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

Qmms::Log::TextEditAppender Class Reference

Appender that spews QmmsLog output to a QTextEdit widget, which is why it has two base classes, namely LayoutAppender and QTextEdit. More...

#include <log.hh>

Inheritance diagram for Qmms::Log::TextEditAppender::

Qmms::Log::LayoutAppender QTextEdit Qmms::Log::AppenderSkeleton Qmms::Log::Appender List of all members.

Public Methods

 TextEditAppender ()
 Default constructor does nothing. More...

 TextEditAppender (QWidget *parent=0, const QString &name=0)
 Constructor. More...

virtual ~TextEditAppender ()
 Destructor does nothing. More...

virtual void subAppend (LoggingEvent *evnt)
 Logs the event immediately with no further checks of any kind. More...

void close ()
 Does nothing, but is a pure virtual method in the base class, so it must be "implemented" here. More...


Detailed Description

Appender that spews QmmsLog output to a QTextEdit widget, which is why it has two base classes, namely LayoutAppender and QTextEdit.

Use this if you want log output to be written to a QTextEdit widget.


Constructor & Destructor Documentation

Qmms::Log::TextEditAppender::TextEditAppender  
 

Default constructor does nothing.

Qmms::Log::TextEditAppender::TextEditAppender QWidget   parent = 0,
const QString   name = 0
 

Constructor.

Sets Layout to a SimpleLayout.

Parameters:
parent  parent Widget that is passed to QTextEdit base class
name  name of Appender, passed to both base classes

virtual Qmms::Log::TextEditAppender::~TextEditAppender   [virtual]
 

Destructor does nothing.


Member Function Documentation

void Qmms::Log::TextEditAppender::close   [virtual]
 

Does nothing, but is a pure virtual method in the base class, so it must be "implemented" here.

Reimplemented from Qmms::Log::Appender.

virtual void Qmms::Log::TextEditAppender::subAppend LoggingEvent   evnt [virtual]
 

Logs the event immediately with no further checks of any kind.

Recall the order of things:

Reimplemented from Qmms::Log::LayoutAppender.


The documentation for this class was generated from the following file:
Generated on Fri Jan 3 15:04:10 2003 for QmmsLog by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001