Removed some stupid debug messages
[kdenetwork.git] / krdc / keycapturedialog.h
blob6f3aa312a440af5939d654507b471790ea766104
1 /***************************************************************************
2 keycapturedialog2.h - KeyCaptureDialog
3 -------------------
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>
7 email : tim@tjansen.de
8 ***************************************************************************/
10 /***************************************************************************
11 * *
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. *
16 * *
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 {
31 Q_OBJECT
33 bool m_grabbed;
34 public:
35 KeyCaptureDialog(QWidget * parent= 0, const char *name = 0);
36 ~KeyCaptureDialog();
38 public slots:
39 void execute();
41 signals:
42 void keyPressed(XEvent *key);
44 protected:
45 bool x11Event(XEvent*);
46 void x11EventKeyPress(XEvent*);
48 KeyCaptureWidget *m_captureWidget;
52 #endif