2
KSysGuard, the KDE System Guard
4
Copyright (c) 2001 Tobias Koenig <tokoe@kde.org>
6
This program is free software; you can redistribute it and/or
7
modify it under the terms of version 2 of the GNU General Public
8
License as published by the Free Software Foundation.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
$Id: LogFile.h,v 1.6 2003/07/12 13:36:05 mlaurent Exp $
31
#include <qpopupmenu.h>
33
#include <qstringlist.h>
35
#include <SensorDisplay.h>
37
#include "LogFileSettings.h"
39
class LogFile : public KSGRD::SensorDisplay
43
LogFile(QWidget *parent = 0, const char *name = 0, const QString& title = 0);
46
bool addSensor(const QString& hostName, const QString& sensorName,
47
const QString& sensorType, const QString& sensorDescr);
48
void answerReceived(int id, const QString& answer);
49
void resizeEvent(QResizeEvent*);
51
bool restoreSettings(QDomElement& element);
52
bool saveSettings(QDomDocument& doc, QDomElement& element, bool save = true);
54
void updateMonitor(void);
56
void configureSettings(void);
58
virtual void timerEvent(QTimerEvent*)
63
virtual bool hasSettingsDialog() const
72
void settingsFontSelection();
73
void settingsAddRule();
74
void settingsDeleteRule();
75
void settingsChangeRule();
76
void settingsRuleListSelected(int index);
81
QStringList filterRules;
83
unsigned long logFileID;