00001 /********************************************************************** 00002 ** SyslogInfo 00003 ** 00004 ** Display Syslog information 00005 ** 00006 ** Copyright (C) 2004-2005, Michael 'Mickey' Lauer <mickey@Vanille.de> 00007 ** 00008 ** This file may be distributed and/or modified under the terms of the 00009 ** GNU General Public License version 2 as published by the Free Software 00010 ** Foundation and appearing in the file LICENSE.GPL included in the 00011 ** packaging of this file. 00012 ** 00013 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00014 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00015 ** 00016 **********************************************************************/ 00017 00018 #ifndef SYSLOGINFO_H 00019 #define SYSLOGINFO_H 00020 00021 #include <qwidget.h> 00022 00023 class QTextView; 00024 00025 class SyslogInfo : public QWidget 00026 { 00027 Q_OBJECT 00028 public: 00029 SyslogInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); 00030 ~SyslogInfo(); 00031 00032 private: 00033 QTextView* syslogview; 00034 int fd; 00035 00036 private slots: 00037 void updateData(); 00038 }; 00039 00040 #endif
1.4.2