MCPcopy Create free account
hub / github.com/Zalafina/QKeyMapper / on_insertMappingKeyButton_clicked

Method on_insertMappingKeyButton_clicked

QKeyMapper/qmappingsequenceedit.cpp:978–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976}
977
978void QMappingSequenceEdit::on_insertMappingKeyButton_clicked()
979{
980 const int currentMode = QKeyMapper::getTableInsertModeIndex();
981 const int insertMode = (QApplication::keyboardModifiers() & Qt::ShiftModifier)
982 ? getOppositeTableInsertMode(currentMode)
983 : currentMode;
984 insertMappingKeyToTable(insertMode);
985}
986
987void QMappingSequenceEdit::on_confirmButton_clicked()
988{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected