KABC::ConsoleErrorHandler Class Reference

This class prints the error messages to stderr via kError(). More...

#include <errorhandler.h>

Inheritance diagram for KABC::ConsoleErrorHandler:

List of all members.

Public Member Functions

 ConsoleErrorHandler ()
virtual ~ConsoleErrorHandler ()
virtual void error (const QString &msg)

Detailed Description

This class prints the error messages to stderr via kError().

Definition at line 58 of file errorhandler.h.


Constructor & Destructor Documentation

ConsoleErrorHandler::ConsoleErrorHandler (  ) 

Create an error handler for console output.

Uses kError() to write the error messages.

Definition at line 37 of file errorhandler.cpp.

ConsoleErrorHandler::~ConsoleErrorHandler (  )  [virtual]

Destroys the handler instance.

Definition at line 42 of file errorhandler.cpp.


Member Function Documentation

void ConsoleErrorHandler::error ( const QString &  msg  )  [virtual]

Show error message.

Parameters:
msg The error message to show

Implements KABC::ErrorHandler.

Definition at line 46 of file errorhandler.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys