#include <ErrorHandler.h>
Inheritance diagram for KXQTS::ErrorHandler:


Public Types | |
|
typedef Patternist::PlainSharedPtr< ErrorHandler > | Ptr |
Public Member Functions | |
| virtual void | handleMessage (const Patternist::Message &msg) |
| Patternist::Message::List | messages () const |
| virtual void | reset () |
Static Public Member Functions | |
| static void | installQtMessageHandler (const ErrorHandler::Ptr &handler) |
Thus, ErrorHandler does not report errors, but collects them and allows easy access to them.
Definition at line 34 of file ErrorHandler.h.
| void ErrorHandler::installQtMessageHandler | ( | const ErrorHandler::Ptr & | handler | ) | [static] |
Calling this function causes all Qt's internal debug messages to be sent to handler. If handler is null, Qt's default message handler is re-installed. In other words, via an internal proxy function, it installs handler as Qt's message handler.
Definition at line 66 of file ErrorHandler.cpp.
References Patternist::PlainSharedPtr< T >::reset().
Here is the call graph for this function:

| void ErrorHandler::reset | ( | ) | [virtual] |
Clears all accumulated errors.
Definition at line 92 of file ErrorHandler.cpp.
1.5.1