Miam-Player  0.8.0
A nice music player
logbrowser.h
Go to the documentation of this file.
1 #ifndef LOGBROWSER_H
2 #define LOGBROWSER_H
3 
4 #include <QObject>
5 
7 class LogBrowserDialog;
8 
18 class LogBrowser : public QObject
19 {
20  Q_OBJECT
21 public:
22  explicit LogBrowser(QObject *parent = nullptr);
23  ~LogBrowser();
24 
25 public slots:
26  void outputMessage(QtMsgType type, const QString &msg);
27 
28  void show();
29 
30 signals:
31  void sendMessage(QtMsgType type, const QString &msg);
32 
33 private:
34  LogBrowserDialog *browserDialog;
35 };
36 
37 #endif // LOGBROWSER_H
The LogBrowser class shows logs on screen.
Definition: logbrowser.h:18
~LogBrowser()
Definition: logbrowser.cpp:15
void outputMessage(QtMsgType type, const QString &msg)
Definition: logbrowser.cpp:20
LogBrowser(QObject *parent=nullptr)
Definition: logbrowser.cpp:7
void show()
Definition: logbrowser.cpp:25
The LogBrowserDialog class is a popup which converts debug strings.
Definition: logbrowserdialog.h:16
void sendMessage(QtMsgType type, const QString &msg)