~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to kwin/effects/_test/test_input.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*****************************************************************
 
2
 KWin - the KDE window manager
 
3
 This file is part of the KDE project.
 
4
 
 
5
Copyright (C) 2007 Lubos Lunak <l.lunak@kde.org>
 
6
 
 
7
You can Freely distribute this program under the GNU General Public
 
8
License. See the file "COPYING" for the exact licensing terms.
 
9
******************************************************************/
 
10
 
 
11
/*
 
12
 
 
13
 Testing of handling input in effects.
 
14
 
 
15
*/
 
16
 
 
17
#ifndef KWIN_TEST_INPUT_H
 
18
#define KWIN_TEST_INPUT_H
 
19
 
 
20
#include <kwineffects.h>
 
21
 
 
22
namespace KWin
 
23
{
 
24
 
 
25
class TestInputEffect
 
26
    : public Effect
 
27
{
 
28
public:
 
29
    TestInputEffect();
 
30
    virtual ~TestInputEffect();
 
31
    virtual void prePaintScreen(ScreenPrePaintData& data, int time);
 
32
    virtual void paintScreen(int mask, QRegion region, ScreenPaintData& data);
 
33
    virtual void windowInputMouseEvent(Window w, QEvent* e);
 
34
private:
 
35
    Window input;
 
36
};
 
37
 
 
38
} // namespace
 
39
 
 
40
#endif