kabc
KABC::ErrorHandler Class Referenceabstract
#include <errorhandler.h>
Inheritance diagram for KABC::ErrorHandler:
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
|
virtual |
Destroys the handler instance.
Definition at line 33 of file errorhandler.cpp.
Member Function Documentation
|
pure virtual |
Show error message.
- Parameters
-
msg The error message to show
Implemented in KABC::GuiErrorHandler, and KABC::ConsoleErrorHandler.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.