2012-06-05 17:11:29 +04:00
|
|
|
/*
|
|
|
|
* Copyright (C) by Klaas Freitag <freitag@owncloud.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOGBROWSER_H
|
|
|
|
#define LOGBROWSER_H
|
|
|
|
|
2017-05-09 18:04:04 +03:00
|
|
|
#include <QCheckBox>
|
2012-08-26 13:46:59 +04:00
|
|
|
#include <QPlainTextEdit>
|
2012-06-15 15:04:23 +04:00
|
|
|
#include <QTextStream>
|
|
|
|
#include <QFile>
|
2012-06-05 17:11:29 +04:00
|
|
|
#include <QObject>
|
|
|
|
#include <QList>
|
|
|
|
#include <QDateTime>
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QLineEdit>
|
|
|
|
#include <QPushButton>
|
|
|
|
#include <QLabel>
|
|
|
|
|
2014-11-10 00:34:07 +03:00
|
|
|
namespace OCC {
|
2012-06-05 17:11:29 +04:00
|
|
|
|
2015-06-29 19:56:09 +03:00
|
|
|
/**
|
|
|
|
* @brief The LogBrowser class
|
|
|
|
* @ingroup gui
|
2015-06-26 18:07:47 +03:00
|
|
|
*/
|
2012-06-05 17:11:29 +04:00
|
|
|
class LogBrowser : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2018-11-11 12:56:22 +03:00
|
|
|
explicit LogBrowser(QWidget *parent = nullptr);
|
2012-06-15 15:04:23 +04:00
|
|
|
~LogBrowser();
|
|
|
|
|
2013-09-20 16:18:28 +04:00
|
|
|
protected:
|
2018-11-11 13:09:29 +03:00
|
|
|
void closeEvent(QCloseEvent *) override;
|
2013-09-20 16:18:28 +04:00
|
|
|
|
2012-06-05 17:11:29 +04:00
|
|
|
protected slots:
|
2018-04-10 14:07:20 +03:00
|
|
|
void togglePermanentLogging(bool enabled);
|
2012-06-05 17:11:29 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
#endif // LOGBROWSER_H
|