| 68 | } |
| 69 | |
| 70 | void EditKey::focusOutEvent(QFocusEvent * event) |
| 71 | { |
| 72 | Q_UNUSED(event) |
| 73 | if (!this->text().contains("...") && this->text() != "") |
| 74 | ContextManager::configuration()->setValue(ConfManager::SECTION_KEYBOARD, |
| 75 | "key_" + QString::number(_octave) + "_" + QString::number(_key), |
| 76 | this->text()); |
| 77 | updateText(); |
| 78 | } |
| 79 | |
| 80 | void EditKey::processKeyEvent(QKeyEvent * event) |
| 81 | { |