kmobiletools
KMobileTools::ErrorHandler Class Reference
#include <errorhandler.h>
Inheritance diagram for KMobileTools::ErrorHandler:

Detailed Description
Definition at line 43 of file errorhandler.h.
Signals | |
| void | errorOccurred (const QString &message, BaseError::Priority) |
Public Member Functions | |
| void | addError (const BaseError *error) |
| int | errorCount () const |
| QStack< const BaseError * > | errorStack () |
| ~ErrorHandler () | |
Static Public Member Functions | |
| static ErrorHandler * | instance () |
Constructor & Destructor Documentation
| KMobileTools::ErrorHandler::~ErrorHandler | ( | ) |
Definition at line 53 of file errorhandler.cpp.
Member Function Documentation
| void KMobileTools::ErrorHandler::addError | ( | const BaseError * | error | ) |
Adds an error to the error handler.
- Parameters:
-
error the error which should be handled
implement me
Definition at line 62 of file errorhandler.cpp.
| int KMobileTools::ErrorHandler::errorCount | ( | ) | const |
Returns how many errors have occurred during the current session.
- Returns:
- the error count
Definition at line 79 of file errorhandler.cpp.
| void KMobileTools::ErrorHandler::errorOccurred | ( | const QString & | message, | |
| BaseError::Priority | ||||
| ) | [signal] |
Returns the stack of errors.
- Returns:
- the error stack
Definition at line 83 of file errorhandler.cpp.
| ErrorHandler * KMobileTools::ErrorHandler::instance | ( | ) | [static] |
Returns an ErrorHandler instance.
- Returns:
- an error handler instance
Definition at line 57 of file errorhandler.cpp.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference