author | mickeyl <mickeyl> | 2005-05-02 13:11:18 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-05-02 13:11:18 (UTC) |
commit | 3a86e1464fb00d3d9b9962bcabc1041d8a3d9343 (patch) (side-by-side diff) | |
tree | 1cee100c29a56ab34ea60f98a2711a8da7c025e7 /noncore/settings/sysinfo/sysinfo.cpp | |
parent | d70e9287e4f7aabaed564e5c9c6cf2c4bb04afec (diff) | |
download | opie-3a86e1464fb00d3d9b9962bcabc1041d8a3d9343.zip opie-3a86e1464fb00d3d9b9962bcabc1041d8a3d9343.tar.gz opie-3a86e1464fb00d3d9b9962bcabc1041d8a3d9343.tar.bz2 |
prepare for inclusion of DevicesInfo
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 @@ -25,3 +25,3 @@ #include "memory.h" -#include "load.h" +#include "devicesinfo.h" #include "storage.h" @@ -49,8 +49,2 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) - resize( 220, 180 ); - - Config config( "qpe" ); - config.setGroup( "Appearance" ); - bool advanced = config.readBoolEntry( "Advanced", TRUE ); - QVBoxLayout *lay = new QVBoxLayout( this ); @@ -63,8 +57,5 @@ SystemInfo::SystemInfo( QWidget *parent, const char *name, WFlags ) #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" ) ); |