X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeyMap.h;h=9a9f2bd5dfb174f6af794e74ab30791d12726a47;hb=e54ae72e5fac6f750c3f7972c74bb42b57f3a049;hp=eaf1006e40819d06f0eabbe0d03743cbd2874d0a;hpb=5265a8c02c7223f72dda771fd776c104bc729487;p=lyx.git diff --git a/src/KeyMap.h b/src/KeyMap.h index eaf1006e40..9a9f2bd5df 100644 --- a/src/KeyMap.h +++ b/src/KeyMap.h @@ -17,7 +17,7 @@ #include "FuncRequest.h" #include "frontends/key_state.h" -#include "frontends/LyXKeySym.h" +#include "frontends/KeySymbol.h" #include "support/docstream.h" @@ -47,8 +47,8 @@ public: /** * print all available keysyms - * @param forgui true if the string should use translations and - * special characters. + * @param forgui true if the string should use translations and + * special characters. */ docstring const print(bool forgui) const; @@ -60,7 +60,7 @@ public: * @return the action / LFUN_COMMAND_PREFIX / LFUN_UNKNOWN_ACTION */ FuncRequest const & - lookup(LyXKeySymPtr key, + lookup(KeySymbolPtr key, key_modifier::state mod, KeySequence * seq) const; /// @@ -74,10 +74,10 @@ public: /** * Given an action, find the first 1-key binding (if it exists). - * The LyXKeySym pointer is 0 is no key is found. + * The KeySymbol pointer is 0 is no key is found. * [only used by the Qt/Mac frontend] */ - std::pair + std::pair find1keybinding(FuncRequest const & func) const; @@ -86,7 +86,7 @@ public: * @param key the key as a keysym * @param mod the modifiers */ - static std::string const printKeySym(LyXKeySym const & key, + static std::string const printKeySym(KeySymbol const & key, key_modifier::state mod); typedef std::pair modifier_pair; @@ -95,7 +95,7 @@ private: /// struct Key { /// Keysym - LyXKeySymPtr code; + KeySymbolPtr code; /// Modifier masks modifier_pair mod;