]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
Fix for bug 4135
[lyx.git] / src / MenuBackend.h
index 9ec013d278480b607d671fa33927ec18261597bd..07c115a2727d052cc42e978e9a084d38c3634c89 100644 (file)
@@ -23,7 +23,7 @@
 
 namespace lyx {
 
-class LyXLex;
+class Lexer;
 class Buffer;
 class Menu;
 
@@ -111,7 +111,7 @@ public:
        /// returns the status of the lfun associated with this entry
        void status(FuncStatus const & status) { status_ = status; }
        /**
-        * returns the binding associated to this action.        
+        * returns the binding associated to this action.
         * Use the native UI format when \c forgui is true.
         */
        docstring const binding(bool forgui) const;
@@ -161,7 +161,7 @@ public:
        /// menu item.
        Menu & addWithStatusCheck(MenuItem const &);
        ///
-       Menu & read(LyXLex &);
+       Menu & read(Lexer &);
        ///
        docstring const & name() const { return name_; }
        ///
@@ -207,7 +207,7 @@ public:
        ///
        MenuBackend() {}
        ///
-       void read(LyXLex &);
+       void read(Lexer &);
        ///
        void add(Menu const &);
        ///