summaryrefslogtreecommitdiff
path: root/noncore/settings/sysinfo/benchmarkinfo.h
Unidiff
Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.h') (more/less context) (ignore 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 @@
9** This file may be distributed and/or modified under the terms of the 9** This file may be distributed and/or modified under the terms of the
10** GNU General Public License version 2 as published by the Free Software 10** GNU General Public License version 2 as published by the Free Software
11** Foundation and appearing in the file LICENSE.GPL included in the 11** Foundation and appearing in the file LICENSE.GPL included in the
12** packaging of this file. 12** packaging of this file.
13** 13**
14** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 14** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
15** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 15** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16** 16**
17**********************************************************************/ 17**********************************************************************/
18 18
19#include <qwidget.h> 19#include <qwidget.h>
20#include <qdialog.h> 20#include <qdialog.h>
21#include <qdict.h>
22#include <qstringlist.h>
21 23
22class QClipboard; 24class QClipboard;
25class QComboBox;
23class QCheckListItem; 26class QCheckListItem;
24class QPushButton; 27class QPushButton;
25class QListView; 28class QListView;
26 29
27class BenchmarkInfo : public QWidget 30class BenchmarkInfo : public QWidget
28{ 31{
29 Q_OBJECT 32 Q_OBJECT
30 33
31public: 34public:
32 BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 ); 35 BenchmarkInfo( QWidget *parent = 0, const char *name = 0, int wFlags = 0 );
33 ~BenchmarkInfo(); 36 ~BenchmarkInfo();
34 37
@@ -39,26 +42,28 @@ public:
39 QCheckListItem* test_ram; 42 QCheckListItem* test_ram;
40 QCheckListItem* test_sd; 43 QCheckListItem* test_sd;
41 QCheckListItem* test_cf; 44 QCheckListItem* test_cf;
42 45
43 bool main_rd; 46 bool main_rd;
44 bool main_wt; 47 bool main_wt;
45 bool sd_rd; 48 bool sd_rd;
46 bool sd_wt; 49 bool sd_wt;
47 bool cf_rd; 50 bool cf_rd;
48 bool cf_wt; 51 bool cf_wt;
49 52
50 QClipboard* clb; 53 QClipboard* clb;
51 54 QComboBox* machineCombo;
52 QListView* tests; 55 QListView* tests;
53 QPushButton* startButton; 56 QPushButton* startButton;
57 QDict <QStringList> machines;
54 58
55 int textRendering( int ); 59 int textRendering( int );
56 int gfxRendering( int ); 60 int gfxRendering( int );
57 void performFileTest( const QString& fname, QCheckListItem* item ); 61 void performFileTest( const QString& fname, QCheckListItem* item );
58 62
59private slots: 63private slots:
60 bool writeFile( const QString& ); 64 bool writeFile( const QString& );
61 bool readFile( const QString& ); 65 bool readFile( const QString& );
62 void run(); 66 void run();
67 void machineActivated( int );
63}; 68};
64 69