summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-09-15 12:39:17 (UTC)
committer mickeyl <mickeyl>2004-09-15 12:39:17 (UTC)
commit3440a45f736fbdddf787c81664e3dbb74f3e4b8b (patch) (side-by-side diff)
tree6786fa4990a2b9c76cb3a22a68c25dc542db2de6
parentbb7cd69b07a5d6e00a29b23dc8bfebc511d34891 (diff)
downloadopie-3440a45f736fbdddf787c81664e3dbb74f3e4b8b.zip
opie-3440a45f736fbdddf787c81664e3dbb74f3e4b8b.tar.gz
opie-3440a45f736fbdddf787c81664e3dbb74f3e4b8b.tar.bz2
minor adjustments to button layout. release 1.1.1
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.cpp19
-rw-r--r--noncore/settings/sysinfo/sysinfo.pro2
-rw-r--r--share/sysinfo/results4
3 files changed, 12 insertions, 13 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.cpp b/noncore/settings/sysinfo/benchmarkinfo.cpp
index be7e4b6..fde032a 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.cpp
+++ b/noncore/settings/sysinfo/benchmarkinfo.cpp
@@ -3,3 +3,3 @@
**
-** A benchmark for Qt/Embedded
+** A benchmark widget for Qt/Embedded
**
@@ -65,5 +65,2 @@ extern "C"
-#define BUFF_SIZE 8192
-#define FILE_SIZE 1024 * 1024 // 1Mb
-
//===========================================================================
@@ -144,2 +141,5 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags )
+ QHBoxLayout* hb = new QHBoxLayout( vb );
+ hb->addWidget( startButton, 2 );
+
QFile f( QPEApplication::qpeDir() + "/share/sysinfo/results" );
@@ -160,4 +160,3 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags )
- QHBoxLayout* hb = new QHBoxLayout( vb );
- hb->addWidget( new QLabel( tr( "Compare To:" ), this ) );
+ hb->addWidget( new QLabel( tr( "Compare:" ), this ) );
hb->addWidget( machineCombo, 2 );
@@ -165,4 +164,2 @@ BenchmarkInfo::BenchmarkInfo( QWidget *parent, const char *name, int wFlags )
}
-
- vb->addWidget( startButton, 2 );
}
@@ -197,3 +194,3 @@ void BenchmarkInfo::run()
{
- startButton->setText( "> Don't touch! Running Tests! Don't touch! <" );
+ startButton->setText( "> Don't touch! <" );
qApp->processEvents();
@@ -398,3 +395,3 @@ void BenchmarkInfo::performFileTest( const QString& fname, OCheckListItem* item
{
- readSpeed = readSpeed / 1024.0;
+ readSpeed /= 1024.0;
readUnit = "MB/s";
@@ -405,3 +402,3 @@ void BenchmarkInfo::performFileTest( const QString& fname, OCheckListItem* item
{
- writeSpeed = writeSpeed / 1024.0;
+ writeSpeed /= 1024.0;
writeUnit = "MB/s";
diff --git a/noncore/settings/sysinfo/sysinfo.pro b/noncore/settings/sysinfo/sysinfo.pro
index 58f6eb0..dd35563 100644
--- a/noncore/settings/sysinfo/sysinfo.pro
+++ b/noncore/settings/sysinfo/sysinfo.pro
@@ -31,3 +31,3 @@ DEFINES += UNIX
TARGET = sysinfo
-VERSION = 1.1.0
+VERSION = 1.1.1
diff --git a/share/sysinfo/results b/share/sysinfo/results
index b34fc99..b53f1ea 100644
--- a/share/sysinfo/results
+++ b/share/sysinfo/results
@@ -1,2 +1,2 @@
-<Choose a model>
+<Choose model>
n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a,n/a
@@ -30 +30,3 @@ SIEMENS SIMpad
not,yet,contributed,please,mail,to,opie@handhelds.org
+MASTERIA Beagle
+not,yet,contributed,please,mail,to,opie@handhelds.org