- string const findbinding(int action,
- string const & prefix = string()) const;
+ Bindings findbindings(FuncRequest const & func) const;
+
+ /// Given an action, print the keybindings.
+ docstring const printbindings(FuncRequest const & func) const;
+
+ /**
+ * Given an action, find the first 1-key binding (if it exists).
+ * The LyXKeySym pointer is 0 is no key is found.
+ * [only used by the Qt/Mac frontend]
+ */
+ std::pair<LyXKeySym const *, key_modifier::state>
+ find1keybinding(FuncRequest const & func) const;
+