author | mickeyl <mickeyl> | 2004-03-05 21:37:50 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-03-05 21:37:50 (UTC) |
commit | 8851dc992ab535bde6cb417cafc44658953f495d (patch) (unidiff) | |
tree | 0a70bd4a768880e61c5af1ab142508c2bb81ecd0 /noncore/settings/sysinfo/detail.cpp | |
parent | b9d58b616102970872129b5bc2f55569910f5c03 (diff) | |
download | opie-8851dc992ab535bde6cb417cafc44658953f495d.zip opie-8851dc992ab535bde6cb417cafc44658953f495d.tar.gz opie-8851dc992ab535bde6cb417cafc44658953f495d.tar.bz2 |
use listview stuff from libopie2
miscellaneous cleanups
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 | |||
@@ -12,27 +12,25 @@ | |||
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 | } |