~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy-backports

« back to all changes in this revision

Viewing changes to kwin/tools/decobenchmark/main.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-09-05 20:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20070905204514-632hhspl0nvrc84i
Tags: upstream-3.93.0
ImportĀ upstreamĀ versionĀ 3.93.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *
 
3
 * Copyright (c) 2005 Sandro Giessl <sandro@giessl.com>
 
4
 * Copyright (c) 2005 Luciano Montanaro <mikelima@cirulla.net>
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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.
 
19
 */
 
20
 
 
21
#ifndef BENCH_MAIN_H
 
22
#define BENCH_MAIN_H
 
23
 
 
24
enum Tests {
 
25
        AllTests,
 
26
        RepaintTest,
 
27
        CaptionTest,
 
28
        ResizeTest,
 
29
        RecreationTest
 
30
};
 
31
 
 
32
class DecoBenchApplication : public KApplication
 
33
{
 
34
        Q_OBJECT
 
35
public:
 
36
        DecoBenchApplication(const QString &library, Tests tests, int count);
 
37
        ~DecoBenchApplication();
 
38
 
 
39
public slots:
 
40
        void executeTest();
 
41
 
 
42
private:
 
43
        KDecorationPreview *preview;
 
44
        KDecorationPlugins *plugins;
 
45
        Tests m_tests;
 
46
        int m_count;
 
47
};
 
48
 
 
49
#endif // BENCH_MAIN_H
 
50
 
 
51
// kate: space-indent off; tab-width 4;