Diffstat (limited to 'noncore/settings/sysinfo/sysloginfo.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/sysloginfo.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/noncore/settings/sysinfo/sysloginfo.h b/noncore/settings/sysinfo/sysloginfo.h new file mode 100644 index 0000000..7bf8d17 --- a/dev/null +++ b/noncore/settings/sysinfo/sysloginfo.h | |||
@@ -0,0 +1,42 @@ | |||
1 | /********************************************************************** | ||
2 | ** SyslogInfo | ||
3 | ** | ||
4 | ** Display Syslog information | ||
5 | ** | ||
6 | ** Copyright (C) 2004, Michael Lauer | ||
7 | ** mickey@tm.informatik.uni-frankfurt.de | ||
8 | ** http://www.Vanille.de | ||
9 | ** | ||
10 | ** This file may be distributed and/or modified under the terms of the | ||
11 | ** GNU General Public License version 2 as published by the Free Software | ||
12 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
13 | ** packaging of this file. | ||
14 | ** | ||
15 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
16 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
17 | ** | ||
18 | **********************************************************************/ | ||
19 | |||
20 | #ifndef SYSLOGINFO_H | ||
21 | #define SYSLOGINFO_H | ||
22 | |||
23 | #include <qwidget.h> | ||
24 | |||
25 | class QTextView; | ||
26 | |||
27 | class SyslogInfo : public QWidget | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | public: | ||
31 | SyslogInfo( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | ||
32 | ~SyslogInfo(); | ||
33 | |||
34 | private: | ||
35 | QTextView* syslogview; | ||
36 | int fd; | ||
37 | |||
38 | private slots: | ||
39 | void updateData(); | ||
40 | }; | ||
41 | |||
42 | #endif | ||