29 #ifndef SHORTCUTCATCHER_H 
   30 #define SHORTCUTCATCHER_H 
   63       return m_currentSequence;
 
   69       m_defaultSequence = key;
 
   76       m_currentSequence = key;
 
   92     void startRecording();
 
   96     void shortcutChanged(
const QKeySequence &seguence);
 
   99     QToolButton *m_btnReset;
 
  100     QToolButton *m_btnClear;
 
  102     QHBoxLayout *m_layout;
 
  104     QKeySequence m_currentSequence;
 
  105     QKeySequence m_defaultSequence;
 
  112 #endif // KEYSEQUENCECATCHER_H 
ShortcutCatcher(QWidget *parent=0)
Constructor. 
 
void updateDisplayShortcut()
Updates text displayed in catcher according to active shortcut. 
 
void setDefaultShortcut(const QKeySequence &key)
Sets default shortcut for the widget. 
 
void resetShortcut()
Resets active shortcut to default shortcut. 
 
QKeySequence shortcut() const 
Access to active shortcut. 
 
void setShortcut(const QKeySequence &key)
Sets active shortcut for the widget. 
 
void clearShortcut()
Clears current active shortcut. 
 
Represents extra widget for changing single keyboard shortcut. 
 
void controlModifierlessTimeout()
Performs time-dependent check of current shortcut check and stops the recording if time is up...