1 #ifndef KEYSIGNALS_H 2 #define KEYSIGNALS_H 3 4 #include <QEvent> 5 #include <QObject> 6 7 class KeySignals : public QObject 8 { 9 Q_OBJECT 10 11 signals: 12 void onEnter(); 13 void onCtrlEnter(); 14 void onCtrlAltEnter(); 15 void onShiftLeft(); 16 void onShiftRight(); 17 void onDelete(); 18 void onCtrlAltMinus(); 19 void onCtrlAltEqual(); 20 void onCtrlAltLBracket(); 21 void onCtrlAltRBracket(); 22 void onShiftS(); 23 24 protected: 25 virtual bool eventFilter(QObject *, QEvent *event); 26 }; 27 28 #endif 29