Miam-Player  0.8.0
A nice music player
LogBrowser Class Reference

The LogBrowser class shows logs on screen. More...

#include <logbrowser.h>

Inheritance diagram for LogBrowser:

Public Slots

void outputMessage (QtMsgType type, const QString &msg)
 
void show ()
 

Signals

void sendMessage (QtMsgType type, const QString &msg)
 

Public Member Functions

 LogBrowser (QObject *parent=nullptr)
 
 ~LogBrowser ()
 

Detailed Description

The LogBrowser class shows logs on screen.

The wrapper is instantiated in the main function of an application and creates the browser window. It also acts as an intermediary and converts the const char * based messages from the debug system into QString based messages. With this trick the debug messages can be sent to the actual browser by the means of signal/slot connections. This adds basic thread support to the browser.

Author
Qt-project.org

Constructor & Destructor Documentation

LogBrowser::LogBrowser ( QObject *  parent = nullptr)
explicit
LogBrowser::~LogBrowser ( )

Member Function Documentation

void LogBrowser::outputMessage ( QtMsgType  type,
const QString &  msg 
)
slot
void LogBrowser::sendMessage ( QtMsgType  type,
const QString &  msg 
)
signal
void LogBrowser::show ( )
slot

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