author | mickeyl <mickeyl> | 2005-07-02 12:59:06 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-07-02 12:59:06 (UTC) |
commit | 5d0de3e1d8815820cd6841e62c737b42f7fb5354 (patch) (side-by-side diff) | |
tree | acfd3141cd487c068492ca254dce8f9e1b6ecf5b /noncore/settings/sysinfo/sysloginfo.cpp | |
parent | 094e14624d99d521af6cfc875abafcdc550a7378 (diff) | |
download | opie-5d0de3e1d8815820cd6841e62c737b42f7fb5354.zip opie-5d0de3e1d8815820cd6841e62c737b42f7fb5354.tar.gz opie-5d0de3e1d8815820cd6841e62c737b42f7fb5354.tar.bz2 |
SysInfo:
- add pcmcia device node detail view
- add input device node detail view
- grab preferred fixed font for syslog from qpe.conf
- slightly adjust tree/detail widget space ratio
Diffstat (limited to 'noncore/settings/sysinfo/sysloginfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/sysloginfo.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/settings/sysinfo/sysloginfo.cpp b/noncore/settings/sysinfo/sysloginfo.cpp index 21427f4..279c335 100644 --- a/noncore/settings/sysinfo/sysloginfo.cpp +++ b/noncore/settings/sysinfo/sysloginfo.cpp @@ -1,16 +1,14 @@ /********************************************************************** ** SyslogInfo ** ** Display Syslog information ** -** Copyright (C) 2004, Michael Lauer -** mickey@tm.informatik.uni-frankfurt.de -** http://www.Vanille.de +** Copyright (C) 2004-2005 Michael 'Mickey' Lauer <mickey@Vanille.de> ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. @@ -64,17 +62,17 @@ SyslogInfo::SyslogInfo( QWidget* parent, const char* name, WFlags fl ) QGridLayout *layout = new QGridLayout( this ); layout->setSpacing( 2 ); layout->setMargin( 0 ); syslogview = new QTextView( this ); syslogview->setTextFormat( PlainText ); OConfig cfg( "qpe" ); cfg.setGroup( "Appearance" ); - syslogview->setFont( QFont( "Fixed", cfg.readNumEntry( "FontSize", 10 ) ) ); + syslogview->setFont( QFont( cfg.readEntry( "FixedFontFamily", "Fixed" ), cfg.readNumEntry( "FixedFontSize", 10 ) ) ); layout->addWidget( syslogview, 0, 0 ); syslogview->setText( "..." ); memset( buf, 0, bufsize ); ::klogctl( SYSLOG_READ_ALL, buf, bufsize ); syslogview->setText( buf ); #ifdef APPEND |