Diffstat (limited to 'noncore/settings/sysinfo/sysinfo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/sysinfo.cpp | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/noncore/settings/sysinfo/sysinfo.cpp b/noncore/settings/sysinfo/sysinfo.cpp index 7000175..03db22a 100644 --- a/noncore/settings/sysinfo/sysinfo.cpp +++ b/noncore/settings/sysinfo/sysinfo.cpp @@ -24,5 +24,5 @@ #include "memory.h" -#include "load.h" +#include "devicesinfo.h" #include "storage.h" #include "processinfo.h" @@ -48,10 +48,4 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) setCaption( tr("System Info") ); - resize( 220, 180 ); - - Config config( "qpe" ); - config.setGroup( "Appearance" ); - bool advanced = config.readBoolEntry( "Advanced", TRUE ); - QVBoxLayout *lay = new QVBoxLayout( this ); OTabWidget *tab = new OTabWidget( this, "tabwidget", OTabWidget::Global ); @@ -62,10 +56,7 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) tab->addTab( new FileSysInfo( tab ), "sysinfo/storagetabicon", tr("Storage") ); #endif - tab->addTab( new LoadInfo( tab ), "sysinfo/cputabicon", tr("CPU") ); - if ( advanced ) - { - tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr( "Process" ) ); - tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr( "Modules" ) ); - } + tab->addTab( new DevicesInfo( tab ), "sysinfo/cputabicon", tr("Devices") ); + tab->addTab( new ProcessInfo( tab ), "sysinfo/processtabicon", tr( "Process" ) ); + tab->addTab( new ModulesInfo( tab ), "sysinfo/moduletabicon", tr( "Modules" ) ); tab->addTab( new SyslogInfo( tab ), "sysinfo/syslogtabicon", tr( "Syslog" ) ); tab->addTab( new BenchmarkInfo( tab ), "sysinfo/benchmarktabicon", tr( "Benchmark" ) ); |