Lines Matching defs:strShortcutKey

108     const QString strShortcutKey(m_sstrShortcutKeyTemplate.arg(pActionPool->shortcutsExtraDataID(),
111 if (m_shortcuts.contains(strShortcutKey))
112 return shortcut(strShortcutKey);
114 UIShortcut &newShortcut = m_shortcuts[strShortcutKey];
131 foreach (const QString &strShortcutKey, shortcutKeys)
134 if (!m_shortcuts.contains(strShortcutKey))
137 m_shortcuts[strShortcutKey].setSequence(overrides[strShortcutKey]);
153 const QString strShortcutKey = m_sstrShortcutKeyTemplate.arg(pActionPool->shortcutsExtraDataID(),
156 if (m_shortcuts.contains(strShortcutKey))
159 UIShortcut &existingShortcut = m_shortcuts[strShortcutKey];
171 UIShortcut &newShortcut = m_shortcuts[strShortcutKey];
186 foreach (const QString &strShortcutKey, shortcutKeyList)
187 if (strShortcutKey.startsWith(GUI_Input_SelectorShortcuts))
188 m_shortcuts.remove(strShortcutKey);
199 foreach (const QString &strShortcutKey, shortcutKeyList)
200 if (strShortcutKey.startsWith(GUI_Input_MachineShortcuts))
201 m_shortcuts.remove(strShortcutKey);
284 const QString strShortcutKey(strShortcutKeyTemplate.arg(strShortcutExtraDataID));
286 if (!m_shortcuts.contains(strShortcutKey))
287 m_shortcuts.insert(strShortcutKey, UIShortcut(QString(), strShortcutSequence, QString()));
291 UIShortcut &shortcut = m_shortcuts[strShortcutKey];
321 foreach (const QString &strShortcutKey, shortcutKeys)
324 if (!strShortcutKey.startsWith(strShortcutPrefix))
327 const UIShortcut &shortcut = m_shortcuts[strShortcutKey];
332 overrides << QString("%1=%2").arg(QString(strShortcutKey).remove(strShortcutPrefix),
339 UIShortcut& UIShortcutPool::shortcut(const QString &strShortcutKey)
341 return m_shortcuts[strShortcutKey];