FougTools  0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Signals | Public Member Functions | List of all members
qtcore::LogDispatcher Class Reference

Dispatches a logging message as a Qt signal. More...

#include <qttools/core/log.h>

Inheritance diagram for qtcore::LogDispatcher:
qtcore::AbstractLogHandler

Signals

void log (qtcore::Log::MessageType msgType, const QString &msg)
 

Public Member Functions

 LogDispatcher (QObject *parent=NULL)
 
void handle (Log::MessageType msgType, const QString &msg)
 Emits the signal log(msgType, msg) More...
 
- Public Member Functions inherited from qtcore::AbstractLogHandler
 AbstractLogHandler ()
 
virtual ~AbstractLogHandler ()
 
void setAutoDetach (bool b)
 Set the log handler to auto-detach mode if b is true. More...
 

Detailed Description

Dispatches a logging message as a Qt signal.

Constructor & Destructor Documentation

qtcore::LogDispatcher::LogDispatcher ( QObject *  parent = NULL)

Member Function Documentation

void qtcore::LogDispatcher::handle ( Log::MessageType  msgType,
const QString &  msg 
)
virtual

Emits the signal log(msgType, msg)

Implements qtcore::AbstractLogHandler.

void qtcore::LogDispatcher::log ( qtcore::Log::MessageType  msgType,
const QString &  msg 
)
signal

The documentation for this class was generated from the following files: