Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kwin / tools / decobenchmark / main.h
blob4073238a1d129d1c3e250e95b6d01eac972644f6
1 /*
3 * Copyright (c) 2005 Sandro Giessl <sandro@giessl.com>
4 * Copyright (c) 2005 Luciano Montanaro <mikelima@cirulla.net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef BENCH_MAIN_H
22 #define BENCH_MAIN_H
24 enum Tests {
25 AllTests,
26 RepaintTest,
27 CaptionTest,
28 ResizeTest,
29 RecreationTest
32 class DecoBenchApplication : public KApplication
34 Q_OBJECT
35 public:
36 DecoBenchApplication(const QString &library, Tests tests, int count);
37 ~DecoBenchApplication();
39 public slots:
40 void executeTest();
42 private:
43 KDecorationPreview *preview;
44 KDecorationPlugins *plugins;
45 Tests m_tests;
46 int m_count;
49 #endif // BENCH_MAIN_H
51 // kate: space-indent off; tab-width 4;