- ///
- const_iterator begin() const {
- return menulist_.begin();
- }
- ///
- const_iterator end() const {
- return menulist_.end();
- }
+ /** 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
+ */
+ void specialMenu(docstring const &);
+ /// Expands some special entries of the menu
+ /** The entries with the following kind are expanded to a
+ sequence of Command MenuItems: Lastfiles, Documents,
+ ViewFormats, ExportFormats, UpdateFormats, Branches
+ */
+ void expand(Menu const & frommenu, Menu & tomenu,
+ Buffer const *) const;
+ ///
+ const_iterator begin() const {
+ return menulist_.begin();
+ }
+ ///
+ iterator begin() {
+ return menulist_.begin();
+ }
+ ///
+ const_iterator end() const {
+ return menulist_.end();
+ }
+ ///
+ iterator end() {
+ return menulist_.end();
+ }