author | mickeyl <mickeyl> | 2004-11-04 14:13:05 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-11-04 14:13:05 (UTC) |
commit | 18684ddb43d4d79304dee6b20ab62513ee50b883 (patch) (unidiff) | |
tree | 20c765170a62da7e10eb57a47dd5f68db41b7cc2 | |
parent | 34abbfc57a28dc2d08f71e8e29562659aa3942ac (diff) | |
download | opie-18684ddb43d4d79304dee6b20ab62513ee50b883.zip opie-18684ddb43d4d79304dee6b20ab62513ee50b883.tar.gz opie-18684ddb43d4d79304dee6b20ab62513ee50b883.tar.bz2 |
tiny layout tweak
-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.cpp | 2 | ||||
-rw-r--r-- | share/sysinfo/results | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp index 060185a..2a269b8 100644 --- a/noncore/settings/sysinfo/benchmarkinfo.cpp +++ b/noncore/settings/sysinfo/benchmarkinfo.cpp | |||
@@ -144,34 +144,32 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags ) | |||
144 | 144 | ||
145 | QFile f( QPEApplication::qpeDir() + "share/sysinfo/results" ); | 145 | QFile f( QPEApplication::qpeDir() + "share/sysinfo/results" ); |
146 | if ( f.open( IO_ReadOnly ) ) | 146 | if ( f.open( IO_ReadOnly ) ) |
147 | { | 147 | { |
148 | machineCombo = new QComboBox( this ); | 148 | machineCombo = new QComboBox( this ); |
149 | QWhatsThis::add( machineCombo, tr( "Choose a model to compare your results with." ) ); | 149 | QWhatsThis::add( machineCombo, tr( "Choose a model to compare your results with." ) ); |
150 | 150 | ||
151 | QTextStream ts( &f ); | 151 | QTextStream ts( &f ); |
152 | while( !ts.eof() ) | 152 | while( !ts.eof() ) |
153 | { | 153 | { |
154 | QString machline = ts.readLine(); | 154 | QString machline = ts.readLine(); |
155 | odebug << "sysinfo: parsing benchmark results for '" << machline << "'" << oendl; | 155 | odebug << "sysinfo: parsing benchmark results for '" << machline << "'" << oendl; |
156 | QString resline = ts.readLine(); | 156 | QString resline = ts.readLine(); |
157 | machines.insert( machline, new QStringList( QStringList::split( ",", resline ) ) ); | 157 | machines.insert( machline, new QStringList( QStringList::split( ",", resline ) ) ); |
158 | machineCombo->insertItem( machline ); | 158 | machineCombo->insertItem( machline ); |
159 | } | 159 | } |
160 | |||
161 | hb->addWidget( new QLabel( tr( "Compare:" ), this ) ); | ||
162 | hb->addWidget( machineCombo, 2 ); | 160 | hb->addWidget( machineCombo, 2 ); |
163 | connect( machineCombo, SIGNAL( activated(int) ), this, SLOT( machineActivated(int) ) ); | 161 | connect( machineCombo, SIGNAL( activated(int) ), this, SLOT( machineActivated(int) ) ); |
164 | } | 162 | } |
165 | } | 163 | } |
166 | 164 | ||
167 | 165 | ||
168 | BenchmarkInfo::~BenchmarkInfo() | 166 | BenchmarkInfo::~BenchmarkInfo() |
169 | {} | 167 | {} |
170 | 168 | ||
171 | 169 | ||
172 | void BenchmarkInfo::machineActivated( int index ) | 170 | void BenchmarkInfo::machineActivated( int index ) |
173 | { | 171 | { |
174 | QStringList* results = machines[ machineCombo->text( index ) ]; | 172 | QStringList* results = machines[ machineCombo->text( index ) ]; |
175 | if ( !results ) | 173 | if ( !results ) |
176 | { | 174 | { |
177 | odebug << "sysinfo: no results available." << oendl; | 175 | odebug << "sysinfo: no results available." << oendl; |
diff --git a/share/sysinfo/results b/share/sysinfo/results index d1fc6a8..7b7a587 100644 --- a/share/sysinfo/results +++ b/share/sysinfo/results | |||
@@ -1,17 +1,17 @@ | |||
1 | <Choose model> | 1 | <Compare to> |
2 | n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a | 2 | n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a |
3 | Sharp SL-5500 | 3 | Sharp SL-5500 |
4 | 240010 dhrys,41.498 sec,88 char/sec,1786 gops/sec,50.123 kb/sec,41.7329 kb/sec,105.873 kb/sec | 4 | 240010 dhrys,41.498 sec,88 char/sec,1786 gops/sec,50.123 kb/sec,41.7329 kb/sec,105.873 kb/sec |
5 | Sharp SL-5600 | 5 | Sharp SL-5600 |
6 | not,yet,contributed,please,mail,to,opie@handhelds.org | 6 | not,yet,contributed,please,mail,to,opie@handhelds.org |
7 | Sharp C-700 | 7 | Sharp C-700 |
8 | not,yet,contributed,please,mail,to,opie@handhelds.org | 8 | not,yet,contributed,please,mail,to,opie@handhelds.org |
9 | Sharp C-750 | 9 | Sharp C-750 |
10 | 490677 dhrys,2.452 sec,437 char/sec,1396 gops/sec,132.061 kb/sec,129.752 kb/sec,n/a | 10 | 490677 dhrys,2.452 sec,437 char/sec,1396 gops/sec,132.061 kb/sec,129.752 kb/sec,n/a |
11 | Sharp C-760 | 11 | Sharp C-760 |
12 | not,yet,contributed,please,mail,to,opie@handhelds.org | 12 | not,yet,contributed,please,mail,to,opie@handhelds.org |
13 | Sharp C-860 | 13 | Sharp C-860 |
14 | not,yet,contributed,please,mail,to,opie@handhelds.org | 14 | not,yet,contributed,please,mail,to,opie@handhelds.org |
15 | HP iPAQ 36xx | 15 | HP iPAQ 36xx |
16 | not,yet,contributed,please,mail,to,opie@handhelds.org | 16 | not,yet,contributed,please,mail,to,opie@handhelds.org |
17 | HP iPAQ 37xx | 17 | HP iPAQ 37xx |