20 #ifndef _TDESHORTCUTDIALOG_H_
21 #define _TDESHORTCUTDIALOG_H_
23 #include "kdialogbase.h"
24 #include "tdeshortcut.h"
28 class TDEShortcutDialogSimple;
29 class TDEShortcutDialogAdvanced;
49 const TDEShortcut& shortcut()
const {
return m_shortcut; }
61 TDEShortcutDialogSimple *m_simple;
62 TDEShortcutDialogAdvanced *m_adv;
65 void updateShortcutDisplay();
67 void keyPressed(
KKey key );
71 virtual bool x11Event( XEvent *pEvent );
73 void x11KeyPressEvent( XEvent* pEvent );
74 void x11KeyReleaseEvent( XEvent* pEvent );
78 virtual bool event(TQEvent * e);
83 void slotSelectPrimary();
84 void slotSelectAlternate();
85 void slotClearShortcut();
86 void slotClearPrimary();
87 void slotClearAlternate();
88 void slotMultiKeyMode(
bool bOn );
91 class TDEShortcutDialogPrivate* d;
92 static bool s_showMore;
95 #endif // _TDESHORTCUTDIALOG_H_