Log4Qt::Layout Class Reference

The class Layout is the base class for all layouts. More...

#include <layout.h>

Inheritance diagram for Log4Qt::Layout:

Log4Qt::LogObject Log4Qt::PatternLayout Log4Qt::SimpleLayout Log4Qt::TTCCLayout

List of all members.

Public Member Functions

 Layout (QObject *pParent=0)
virtual ~Layout ()
virtual QString contentType () const
QString footer () const
QString header () const
QString name () const
void setFooter (const QString &rFooter)
void setHeader (const QString &rHeader)
void setName (const QString &rName)
virtual void activateOptions ()
virtual QString format (const LoggingEvent &rEvent)=0

Static Public Member Functions

static QString endOfLine ()

Properties

QString footercontentType
QString footer
QString header


Detailed Description

The class Layout is the base class for all layouts.

Note:
The ownership and lifetime of objects of this class are managed. See Object ownership for more details.

Constructor & Destructor Documentation

Log4Qt::Layout::Layout ( QObject *  pParent = 0  )  [inline]

Log4Qt::Layout::~Layout (  )  [inline, virtual]


Member Function Documentation

virtual QString Log4Qt::Layout::contentType (  )  const [virtual]

QString Log4Qt::Layout::footer (  )  const

QString Log4Qt::Layout::header (  )  const

QString Log4Qt::Layout::name (  )  const [inline]

void Log4Qt::Layout::setFooter ( const QString &  rFooter  )  [inline]

void Log4Qt::Layout::setHeader ( const QString &  rHeader  )  [inline]

void Log4Qt::Layout::setName ( const QString &  rName  )  [inline]

virtual void Log4Qt::Layout::activateOptions (  )  [virtual]

virtual QString Log4Qt::Layout::format ( const LoggingEvent rEvent  )  [pure virtual]

static QString Log4Qt::Layout::endOfLine (  )  [static]

Returns the end of line seperator for the operating system.

Windows: \r\n Mac: \r UNIX: \n


Property Documentation

QString Log4Qt::Layout::footercontentType [read]

The property holds the content type of the layout.

See also:
contentType()

QString Log4Qt::Layout::footer [inline, read, write]

The property holds the footer used by the layout.

See also:
footer(), setFooter()

QString Log4Qt::Layout::header [inline, read, write]

The property holds the header used by the layout.

See also:
header(), setHeader()


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

Generated on Sun Mar 1 16:40:46 2009 for Log4Qt by  doxygen 1.5.6