1 /***************************************************************************
2 keycapturedialog2.h - KeyCaptureDialog
4 begin : Wed Dec 25 01:16:23 CET 2002
5 copyright : (C) 2002-2003 by Tim Jansen
6 : (C) 2004 Nadeem Hasan <nhasan@kde.org>
8 ***************************************************************************/
10 /***************************************************************************
12 * This program is free software; you can redistribute it and/or modify *
13 * it under the terms of the GNU General Public License as published by *
14 * the Free Software Foundation; either version 2 of the License, or *
15 * (at your option) any later version. *
17 ***************************************************************************/
19 #ifndef KEYCAPTUREDIALOG_H
20 #define KEYCAPTUREDIALOG_H
22 class KeyCaptureWidget
;
24 #include "keycapturedialog.h"
26 #include <kshortcut.h>
27 #include <kkeynative.h>
28 #include <kdialogbase.h>
30 class KeyCaptureDialog
: public KDialogBase
{
35 KeyCaptureDialog(QWidget
* parent
= 0, const char *name
= 0);
42 void keyPressed(XEvent
*key
);
45 bool x11Event(XEvent
*);
46 void x11EventKeyPress(XEvent
*);
48 KeyCaptureWidget
*m_captureWidget
;