KABC::ErrorHandler Class Reference

Abstract class that provides displaying of error messages. More...

#include <errorhandler.h>

Inheritance diagram for KABC::ErrorHandler:

List of all members.

Public Member Functions

virtual ~ErrorHandler ()
virtual void error (const QString &msg)=0

Detailed Description

Abstract class that provides displaying of error messages.

We need this to make libkabc gui independent on the one side and provide user friendly error messages on the other side. Use ConsoleErrorHandler or GuiErrorHandler in your application or provide your own ErrorHandler.

Definition at line 39 of file errorhandler.h.


Constructor & Destructor Documentation

ErrorHandler::~ErrorHandler (  )  [virtual]

Destroys the handler instance.

Definition at line 33 of file errorhandler.cpp.


Member Function Documentation

virtual void KABC::ErrorHandler::error ( const QString &  msg  )  [pure virtual]

Show error message.

Parameters:
msg The error message to show

Implemented in KABC::ConsoleErrorHandler, and KABC::GuiErrorHandler.


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