XX CMake Package
Loading...
Searching...
No Matches
XX::QtMessage::Interceptor Struct Reference

intercept the default Qt message handler More...

#include <XXQtMessageInterceptor.h>

Inheritance diagram for XX::QtMessage::Interceptor:

Detailed Description

intercept the default Qt message handler

Static Public Member Functions

template<typename HandlerClass>
static bool enable (HandlerClass *instance, void(HandlerClass::*hanlderFunction)(QtMsgType, const QMessageLogContext &, const QString &))
template<typename HandlerClass>
static void disable (HandlerClass *instance)
static QString symbol (const QtMsgType &type)

Member Function Documentation

◆ disable()

template<typename HandlerClass>
void XX::QtMessage::Interceptor::disable ( HandlerClass * instance)
static

◆ enable()

template<typename HandlerClass>
bool XX::QtMessage::Interceptor::enable ( HandlerClass * instance,
void(HandlerClass::* hanlderFunction )(QtMsgType, const QMessageLogContext &, const QString &) )
static

◆ symbol()

QString XX::QtMessage::Interceptor::symbol ( const QtMsgType & type)
static

The documentation for this struct was generated from the following file: