kabc
KABC::ConsoleErrorHandler Class Reference
#include <errorhandler.h>
Inheritance diagram for KABC::ConsoleErrorHandler:

Public Member Functions | |
ConsoleErrorHandler () | |
virtual | ~ConsoleErrorHandler () |
virtual void | error (const QString &msg) |
![]() | |
virtual | ~ErrorHandler () |
virtual void | error (const QString &msg)=0 |
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::ConsoleErrorHandler | ( | ) |
Create an error handler for console output.
Uses kError() to write the error messages.
Definition at line 37 of file errorhandler.cpp.
◆ ~ConsoleErrorHandler()
|
virtual |
Destroys the handler instance.
Definition at line 42 of file errorhandler.cpp.
Member Function Documentation
◆ error()
|
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.