X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebuglogwidget.h;fp=src%2Fqtui%2Fdebuglogwidget.h;h=5bffad9bc916b639d3f739d1ae355e1174a692ff;hp=9a1fa8ec2466e3df0266597e7642276707be3785;hb=37110ceaa070167b4f40ed449ac9ea130503a792;hpb=f42dc2dd4b22600ca1dc6d8bdcc94aa16dda8276 diff --git a/src/qtui/debuglogwidget.h b/src/qtui/debuglogwidget.h index 9a1fa8ec..5bffad9b 100644 --- a/src/qtui/debuglogwidget.h +++ b/src/qtui/debuglogwidget.h @@ -18,8 +18,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef DEBUGLOGWIDGET_H -#define DEBUGLOGWIDGET_H +#pragma once + +#include +#include + +#include "logger.h" #include "ui_debuglogwidget.h" @@ -31,11 +35,11 @@ public: DebugLogWidget(QWidget *parent = 0); private slots: - void logUpdated(const QString &msg); + void logUpdated(const Logger::LogEntry &msg); + +private: + QString toString(const Logger::LogEntry &msg); private: Ui::DebugLogWidget ui; }; - - -#endif //DEBUGLOGWIDGET_H