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

Method getMappingKeyCursorPosition

QKeyMapper/qitemsetupdialog.cpp:675–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675int QItemSetupDialog::getMappingKeyCursorPosition()
676{
677 if (ITEMSETUP_EDITING_KEYUPMAPPINGKEY == s_editingMappingKeyLineEdit) {
678 return getInstance()->ui->SetupDialog_MappingKey_KeyUpLineEdit->cursorPosition();
679 }
680 else {
681 return getInstance()->ui->SetupDialog_MappingKeyLineEdit->cursorPosition();
682 }
683}
684
685void QItemSetupDialog::setMappingKeyText(const QString &new_keytext)
686{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected