X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fdebuglogwidget.h;h=5bffad9bc916b639d3f739d1ae355e1174a692ff;hp=fb1c482999e213957299403420c91f400bb1d193;hb=37110ceaa070167b4f40ed449ac9ea130503a792;hpb=167ef57a636052f8e18a206e84c3447552e84d2b diff --git a/src/qtui/debuglogwidget.h b/src/qtui/debuglogwidget.h index fb1c4829..5bffad9b 100644 --- a/src/qtui/debuglogwidget.h +++ b/src/qtui/debuglogwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,25 +15,31 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 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" -class DebugLogWidget : public QWidget { - Q_OBJECT +class DebugLogWidget : public QWidget +{ + Q_OBJECT public: - DebugLogWidget(QWidget *parent = 0); + DebugLogWidget(QWidget *parent = 0); private slots: - void logUpdated(const QString &msg); + void logUpdated(const Logger::LogEntry &msg); private: - Ui::DebugLogWidget ui; -}; + QString toString(const Logger::LogEntry &msg); -#endif //DEBUGLOGWIDGET_H +private: + Ui::DebugLogWidget ui; +};