/** This is the list of selections that can
be pasted. */
PasteRecent,
+ /** toolbars */
+ Toolbars,
/** Available branches in document */
Branches
};
FuncStatus & status() { return status_; }
/// returns the status of the lfun associated with this entry
void status(FuncStatus const & status) { status_ = status; }
- /// returns the binding associated to this action
- docstring const binding() const;
+ /**
+ * returns the binding associated to this action.
+ * Use the native UI format when \c forgui is true.
+ */
+ docstring const binding(bool forgui) const;
/// the description of the submenu (if relevant)
docstring const & submenuname() const { return submenuname_; }
/// set the description of the submenu
///
typedef MenuList::iterator iterator;
///
- MenuBackend() : specialmenu_(0) {}
+ MenuBackend() {}
///
void read(LyXLex &);
///
///
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,
///
Menu menubar_;
///
- Menu * specialmenu_;
+ Menu specialmenu_;
};
///