Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LogForQt Class Reference

Implementation for the log in Qt. More...

#include <logforqt.h>

+ Inheritance diagram for LogForQt:
+ Collaboration diagram for LogForQt:

Public Member Functions

 LogForQt ()
 Empty default constructor. More...
 
 ~LogForQt ()
 Empty defaul destructor. More...
 
- Public Member Functions inherited from Log
 Log (bool useLogfile=true)
 
 ~Log ()
 

Protected Member Functions

virtual void impl_verbose (const char *l) overridefinal
 Writes the log message to qDebug. More...
 
virtual void impl_debug (const char *l) overridefinal
 Writes the log message to qDebug. More...
 
virtual void impl_information (const char *l) overridefinal
 Writes the log message to qDebug. More...
 
virtual void impl_warning (const char *l) overridefinal
 Writes the log message to qWarning. More...
 
virtual void impl_error (const char *l) overridefinal
 Writes the log message to qCritical. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Log
static void verbose (const char *text, int line, const char *file, const char *function)
 
static void debug (const char *text, int line, const char *file, const char *function)
 
static void information (const char *text, int line, const char *file, const char *function)
 
static void warning (const char *text, int line, const char *file, const char *function)
 
static void error (const char *text, int line, const char *file, const char *function)
 
static LoggetSingleton ()
 
static LoggetSingletonPtr ()
 
- Static Public Attributes inherited from Log
static const std::string LOG_NAME
 

Detailed Description

Implementation for the log in Qt.

The implementation will use qDebug, qWarning and qCritical for message output.

Definition at line 31 of file logforqt.h.

Constructor & Destructor Documentation

LogForQt::LogForQt ( )

Empty default constructor.

Definition at line 23 of file logforqt.cpp.

LogForQt::~LogForQt ( )

Empty defaul destructor.

Definition at line 28 of file logforqt.cpp.

Member Function Documentation

void LogForQt::impl_debug ( const char *  l)
finaloverrideprotectedvirtual

Writes the log message to qDebug.

Parameters
l: The message to write

Reimplemented from Log.

Definition at line 37 of file logforqt.cpp.

void LogForQt::impl_error ( const char *  l)
finaloverrideprotectedvirtual

Writes the log message to qCritical.

Parameters
l: The message to write

Reimplemented from Log.

Definition at line 49 of file logforqt.cpp.

void LogForQt::impl_information ( const char *  l)
finaloverrideprotectedvirtual

Writes the log message to qDebug.

Parameters
l: The message to write

Reimplemented from Log.

Definition at line 41 of file logforqt.cpp.

void LogForQt::impl_verbose ( const char *  l)
finaloverrideprotectedvirtual

Writes the log message to qDebug.

Parameters
l: The message to write

Reimplemented from Log.

Definition at line 33 of file logforqt.cpp.

void LogForQt::impl_warning ( const char *  l)
finaloverrideprotectedvirtual

Writes the log message to qWarning.

Parameters
l: The message to write

Reimplemented from Log.

Definition at line 45 of file logforqt.cpp.


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