| 18027 | } |
| 18028 | |
| 18029 | void QKeyMapper_Worker::pauseRunningKeySequence(const QString &originalKey) |
| 18030 | { |
| 18031 | const QStringList pauseTargets = buildKeySequencePauseTargets(originalKey); |
| 18032 | for (const QString &pauseTarget : std::as_const(pauseTargets)) { |
| 18033 | SendInputTaskController *pauseController = findSendInputTaskController(pauseTarget); |
| 18034 | if (pauseController == Q_NULLPTR || pauseController->task_pause_state == Q_NULLPTR) { |
| 18035 | continue; |
| 18036 | } |
| 18037 | |
| 18038 | if (*pauseController->task_pause_state == KEYSEQUENCE_PAUSE_STATE_NONE) { |
| 18039 | *pauseController->task_pause_state = KEYSEQUENCE_PAUSE_STATE_REQUESTED; |
| 18040 | } |
| 18041 | } |
| 18042 | } |
| 18043 | |
| 18044 | void QKeyMapper_Worker::continueRunningKeySequence(const QString &originalKey) |
| 18045 | { |
nothing calls this directly
no test coverage detected