]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.h
remove obsolete comment
[lyx.git] / src / MenuBackend.h
index 878046db38cb18226a827f1d50581c73484904d0..7d2fd84a354d50e315e0060d5b608293d08aa012 100644 (file)
@@ -44,6 +44,8 @@ public:
                /** This is the list of opened Documents,
                    typically for the Documents menu. */
                Documents,
+               /** This is the bookmarks */
+               Bookmarks,
                ///
                Toc,
                /** This is a list of viewable formats
@@ -70,6 +72,8 @@ public:
                /** This is the list of selections that can
                    be pasted. */
                PasteRecent,
+               /** toolbars */
+               Toolbars,
                /** Available branches in document */
                Branches
        };
@@ -198,7 +202,7 @@ public:
        ///
        typedef MenuList::iterator iterator;
        ///
-       MenuBackend() : specialmenu_(0) {}
+       MenuBackend() {}
        ///
        void read(LyXLex &);
        ///
@@ -214,10 +218,13 @@ public:
        ///
        bool empty() const { return menulist_.empty(); }
        /** This defines a menu whose entries list the FuncRequests
-           will be removed by expand() in other menus. This is used by
-           the Qt/Mac code
+           that will be removed by expand() in other menus. This is
+           used by the Qt/Mac code
        */
-       void specialMenu(docstring const &);
+       void specialMenu(Menu const &);
+       ///
+       Menu const & specialMenu() { return specialmenu_; }
+
        /// Expands some special entries of the menu
        /** The entries with the following kind are expanded to a
            sequence of Command MenuItems: Lastfiles, Documents,
@@ -247,7 +254,7 @@ private:
        ///
        Menu menubar_;
        ///
-       Menu specialmenu_;
+       Menu specialmenu_;
 };
 
 ///