20 #ifndef _KSHORTCUTDIALOG_H_ 21 #define _KSHORTCUTDIALOG_H_ 23 #include "kdialogbase.h" 24 #include "kshortcut.h" 28 class KShortcutDialogSimple;
29 class KShortcutDialogAdvanced;
48 void setShortcut(
const KShortcut & shortcut );
49 const KShortcut& shortcut()
const {
return m_shortcut; }
61 KShortcutDialogSimple *m_simple;
62 KShortcutDialogAdvanced *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 KShortcutDialogPrivate* d;
92 static bool s_showMore;
95 #endif // _KSHORTCUTDIALOG_H_
virtual void slotDetails()
Activated when the Details button has been clicked.
A dialog base class with standard buttons and predefined layouts.
Dialog for configuring a shortcut.
virtual void keyPressEvent(TQKeyEvent *e)
Maps some keys to the actions buttons.