X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fkbmap.h;h=029a4e1b4eafcf406187ddd9b9eb132a77629a3d;hb=ca6838b288daf07eec7d7a381d74c639c0de3a46;hp=edadfaa9c641881f5e57f3c4b95f853561b5ed2e;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/kbmap.h b/src/kbmap.h index edadfaa9c6..029a4e1b4e 100644 --- a/src/kbmap.h +++ b/src/kbmap.h @@ -19,6 +19,8 @@ #include "frontends/key_state.h" #include "frontends/LyXKeySym.h" +#include "support/docstream.h" + #include #include @@ -44,7 +46,7 @@ public: bool read(std::string const & bind_file); /// print all available keysyms - std::string const print() const; + docstring const print() const; /** * Look up a key press in the keymap. @@ -64,7 +66,7 @@ public: Bindings findbindings(FuncRequest const & func) const; /// Given an action, print the keybindings. - std::string const printbindings(FuncRequest const & func) const; + docstring const printbindings(FuncRequest const & func) const; /** * Given an action, find the first 1-key binding (if it exists). @@ -109,7 +111,7 @@ private: unsigned int r = 0); /// Returns a string of the given key - std::string const printKey(kb_key const & key) const; + docstring const printKey(kb_key const & key) const; /** * Given an action, find all keybindings