8 #ifndef SHORTCUTWIDGET_H
9 #define SHORTCUTWIDGET_H
15 #include "ui_shortcutwidget.h"
30 virtual void changeEvent(QEvent *e);
32 bool event( QEvent* ev );
33 void keyPressEvent(QKeyEvent *k);
34 void keyReleaseEvent(QKeyEvent *k);
35 void setShortcut(
const QString &shortcut);
36 void setAllowedModifiers(
int allowed,
int required);
37 static QString getKeyText(
int KeyC);
38 void languageChange();
50 void newKey(
const QString&);
59 int requiredModifiers;