refs #313 Change hotkey sample to new API

This commit is contained in:
Roland Winklmeier
2014-08-04 20:35:08 +02:00
parent 4ac6a673c1
commit 88e7a38796
2 changed files with 19 additions and 2 deletions

View File

@@ -46,6 +46,10 @@ private slots:
*/
void keySelectionFinished(BlackMisc::Hardware::CKeyboardKey key);
void processKeyDown(const BlackMisc::Hardware::CKeyboardKey &);
void processKeyUp(const BlackMisc::Hardware::CKeyboardKey &);
private:
/*!
* \brief Set the key status
@@ -58,6 +62,7 @@ private:
void setupConnections();
BlackInput::IKeyboard *m_keyboard;
BlackMisc::Hardware::CKeyboardKey m_key;
QPushButton *m_pbSelect;
QLabel *m_lblHotkey;
CLed *m_led;