/***************************************************************************
- * Copyright (C) 2005-2016 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 *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef DEBUGLOGWIDGET_H
-#define DEBUGLOGWIDGET_H
+#pragma once
+
+#include <QString>
+#include <QWidget>
+
+#include "logger.h"
#include "ui_debuglogwidget.h"
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