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; }
62 TDEShortcutDialogSimple *m_simple;
63 TDEShortcutDialogAdvanced *m_adv;
66 void updateShortcutDisplay();
68 void keyPressed(
KKey key );
72 virtual bool x11Event( XEvent *pEvent );
74 void x11KeyPressEvent( XEvent* pEvent );
75 void x11KeyReleaseEvent( XEvent* pEvent );
79 virtual bool event(TQEvent * e);
84 void slotSelectPrimary();
85 void slotSelectAlternate();
86 void slotClearShortcut();
87 void slotClearPrimary();
88 void slotClearAlternate();
89 void slotMultiKeyMode(
bool bOn );
92 class TDEShortcutDialogPrivate* d;
93 static bool s_showMore;
96 #endif // _TDESHORTCUTDIALOG_H_