]> git.lyx.org Git - lyx.git/blobdiff - src/KeySequence.h
Fix bug 518 (thanks to Jean Marc and Martin for the help)
[lyx.git] / src / KeySequence.h
index 3aead2826c1cd0ad7d38b6771381e9e77aa5e8cd..7882902d018dbf1699685f80b879cf000bb49a03 100644 (file)
@@ -14,7 +14,7 @@
 #define KB_SEQUENCE_H
 
 #include "frontends/key_state.h"
-#include "frontends/LyXKeySym.h"
+#include "frontends/KeySymbol.h"
 
 #include <string>
 #include <vector>
@@ -28,7 +28,7 @@ class FuncRequest;
 /// Holds a key sequence and the current and standard keymaps
 class KeySequence {
 public:
-       typedef std::vector<LyXKeySymPtr> Sequence;
+       typedef std::vector<KeySymbolPtr> 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;