X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FKeySequence.h;h=7882902d018dbf1699685f80b879cf000bb49a03;hb=ca81b43f0334d5210696543c2c84e9d29c8a0687;hp=3aead2826c1cd0ad7d38b6771381e9e77aa5e8cd;hpb=5265a8c02c7223f72dda771fd776c104bc729487;p=lyx.git diff --git a/src/KeySequence.h b/src/KeySequence.h index 3aead2826c..7882902d01 100644 --- a/src/KeySequence.h +++ b/src/KeySequence.h @@ -14,7 +14,7 @@ #define KB_SEQUENCE_H #include "frontends/key_state.h" -#include "frontends/LyXKeySym.h" +#include "frontends/KeySymbol.h" #include #include @@ -28,7 +28,7 @@ class FuncRequest; /// Holds a key sequence and the current and standard keymaps class KeySequence { public: - typedef std::vector Sequence; + typedef std::vector Sequence; friend class KeyMap; @@ -45,7 +45,7 @@ public: * @return the action matching this key sequence or LFUN_UNKNOWN_ACTION */ FuncRequest const & - addkey(LyXKeySymPtr keysym, key_modifier::state mod, + addkey(KeySymbolPtr keysym, key_modifier::state mod, key_modifier::state nmod = key_modifier::none); /** @@ -63,8 +63,8 @@ public: /** * Return the current sequence as a string. - * @param forgui true if the string should use translations and - * special characters. + * @param forgui true if the string should use translations and + * special characters. * @see parse() */ docstring const print(bool forgui) const; @@ -72,8 +72,8 @@ public: /** * Return the current sequence and available options as * a string. No options are added if no curmap kb map exists. - * @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 printOptions(bool forgui) const;