fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / khtml / java / kxeventutil.h
blobfa61601d2bf6e6944887bc9bb7a43ae90b97e455
1 // -*- c++ -*-
2 /* This file is part of the KDE project
4 * Copyright (C) 2002 Till Krech <till@snafu.de>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library 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 GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
21 #ifndef KXEVENTUTIL_H
22 #define KXEVENTUTIL_H
24 #include <X11/X.h>
25 #include <X11/Xlib.h>
26 #include <QtCore/QString>
28 class KXEventUtil {
29 public:
30 static QString getXEventName(XEvent *e);
31 static QString getXAnyEventInfo(XEvent *xevent);
32 static QString getXButtonEventInfo(XEvent *xevent);
33 static QString getXKeyEventInfo(XEvent *xevent);
34 static QString getXMotionEventInfo(XEvent *xevent);
35 static QString getXCrossingEventInfo(XEvent *xevent);
36 static QString getXFocusChangeEventInfo(XEvent *xevent);
37 static QString getXExposeEventInfo(XEvent *xevent);
38 static QString getXGraphicsExposeEventInfo(XEvent *xevent);
39 static QString getXNoExposeEventInfo(XEvent *xevent);
40 static QString getXCreateWindowEventInfo(XEvent *xevent);
41 static QString getXDestroyWindowEventInfo(XEvent *xevent);
42 static QString getXMapEventInfo(XEvent *xevent);
43 static QString getXMappingEventInfo(XEvent *xevent);
44 static QString getXReparentEventInfo(XEvent *xevent);
45 static QString getXUnmapEventInfo(XEvent *xevent);
46 static QString getXConfigureEventInfo(XEvent *xevent);
47 static QString getXConfigureRequestEventInfo(XEvent *xevent);
48 static QString getX11EventInfo( XEvent* e );
51 #endif