Diffstat (limited to 'noncore/settings/sysinfo/benchmarkinfo.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/benchmarkinfo.h | 7 |
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 | ||
22 | class QClipboard; | 24 | class QClipboard; |
25 | class QComboBox; | ||
23 | class QCheckListItem; | 26 | class QCheckListItem; |
24 | class QPushButton; | 27 | class QPushButton; |
25 | class QListView; | 28 | class QListView; |
26 | 29 | ||
27 | class BenchmarkInfo : public QWidget | 30 | class BenchmarkInfo : public QWidget |
28 | { | 31 | { |
29 | Q_OBJECT | 32 | Q_OBJECT |
30 | 33 | ||
31 | public: | 34 | public: |
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 | ||
59 | private slots: | 63 | private 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 | ||