summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/benchmarkinfo.h
authormickeyl <mickeyl>2004-02-29 15:02:02 (UTC)
committer mickeyl <mickeyl>2004-02-29 15:02:02 (UTC)
commita731ace5bdbef2354209c655805ebac5298dc2df (patch) (side-by-side diff)
treeff544eaff192195cba52b46f0b8e02942d143c33 /noncore/settings/sysinfo/benchmarkinfo.h
parent4cdd469ad2437fb2a09e4e7afff4feb24cd5d83d (diff)
downloadopie-a731ace5bdbef2354209c655805ebac5298dc2df.zip
opie-a731ace5bdbef2354209c655805ebac5298dc2df.tar.gz
opie-a731ace5bdbef2354209c655805ebac5298dc2df.tar.bz2
Added a column to compare your own results with typical results
Added a combobox and a (text) data file for known results
Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/sysinfo/benchmarkinfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/benchmarkinfo.h b/noncore/settings/sysinfo/benchmarkinfo.h
index 3c5ca37..d143602 100644
--- a/noncore/settings/sysinfo/benchmarkinfo.h
+++ b/noncore/settings/sysinfo/benchmarkinfo.h
@@ -9,26 +9,29 @@
** 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.
**
**********************************************************************/
#include <qwidget.h>
#include <qdialog.h>
+#include <qdict.h>
+#include <qstringlist.h>
class QClipboard;
+class QComboBox;
class QCheckListItem;
class QPushButton;
class QListView;
class BenchmarkInfo : public QWidget
{
Q_OBJECT
public:
BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 );
~BenchmarkInfo();
@@ -39,26 +42,28 @@ public:
QCheckListItem* test_ram;
QCheckListItem* test_sd;
QCheckListItem* test_cf;
bool main_rd;
bool main_wt;
bool sd_rd;
bool sd_wt;
bool cf_rd;
bool cf_wt;
QClipboard* clb;
-
+ QComboBox* machineCombo;
QListView* tests;
QPushButton* startButton;
+ QDict <QStringList> machines;
int textRendering( int );
int gfxRendering( int );
void performFileTest( const QString& fname, QCheckListItem* item );
private slots:
bool writeFile( const QString& );
bool readFile( const QString& );
void run();
+ void machineActivated( int );
};