+ bool searchMenu(FuncRequest const & func,
+ docstring_list & names) const;
+ ///
+ void fillMenuBar(QMenuBar * qmb, GuiView * view, bool initial = false);
+
+ /// \return a top-level submenu given its name.
+ Menu * menu(QString const & name, GuiView & view);
+
+ ///
+ void read(Lexer &);
+
+ ///
+ void updateMenu(Menu * qmenu);
+
+private:
+ /// Use the Pimpl idiom to hide the internals.
+ struct Impl;
+ ///
+ Impl * d;