Diffstat (limited to 'noncore/settings/sysinfo/detail.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/detail.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/noncore/settings/sysinfo/detail.cpp b/noncore/settings/sysinfo/detail.cpp index 79daa2b..6645fdd 100644 --- a/noncore/settings/sysinfo/detail.cpp +++ b/noncore/settings/sysinfo/detail.cpp | |||
@@ -1,44 +1,42 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Detail | 2 | ** Detail |
3 | ** | 3 | ** |
4 | ** Display module information | 4 | ** Display module information |
5 | ** | 5 | ** |
6 | ** Copyright (C) 2002, Michael Lauer | 6 | ** Copyright (C) 2002, Michael Lauer |
7 | ** mickey@tm.informatik.uni-frankfurt.de | 7 | ** mickey@tm.informatik.uni-frankfurt.de |
8 | ** http://www.Vanille.de | 8 | ** http://www.Vanille.de |
9 | ** | 9 | ** |
10 | ** Based on ProcessDetail by Dan Williams <williamsdr@acm.org> | 10 | ** Based on ProcessDetail by Dan Williams <williamsdr@acm.org> |
11 | ** | 11 | ** |
12 | ** This file may be distributed and/or modified under the terms of the | 12 | ** This file may be distributed and/or modified under the terms of the |
13 | ** GNU General Public License version 2 as published by the Free Software | 13 | ** GNU General Public License version 2 as published by the Free Software |
14 | ** Foundation and appearing in the file LICENSE.GPL included in the | 14 | ** Foundation and appearing in the file LICENSE.GPL included in the |
15 | ** packaging of this file. | 15 | ** packaging of this file. |
16 | ** | 16 | ** |
17 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 17 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
18 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 18 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
19 | ** | 19 | ** |
20 | **********************************************************************/ | 20 | **********************************************************************/ |
21 | 21 | ||
22 | #include "detail.h" | 22 | #include "detail.h" |
23 | 23 | ||
24 | #include <sys/types.h> | 24 | #include <qtextview.h> |
25 | #include <stdio.h> | ||
26 | |||
27 | #include <qlayout.h> | 25 | #include <qlayout.h> |
28 | 26 | ||
29 | Detail::Detail( QWidget* parent, const char* name, WFlags ) | 27 | Detail::Detail( QWidget* parent, const char* name, WFlags ) |
30 | : QWidget( parent, name, WStyle_ContextHelp ) | 28 | : QWidget( parent, name, WStyle_ContextHelp ) |
31 | { | 29 | { |
32 | QVBoxLayout *layout = new QVBoxLayout( this ); | 30 | QVBoxLayout *layout = new QVBoxLayout( this ); |
33 | 31 | ||
34 | detailView = new QTextView( this ); | 32 | detailView = new QTextView( this ); |
35 | detailView->setTextFormat( PlainText ); | 33 | detailView->setTextFormat( PlainText ); |
36 | 34 | ||
37 | layout->addWidget( detailView ); | 35 | layout->addWidget( detailView ); |
38 | } | 36 | } |
39 | 37 | ||
40 | Detail::~Detail() | 38 | Detail::~Detail() |
41 | { | 39 | { |
42 | } | 40 | } |
43 | 41 | ||
44 | 42 | ||