4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
10 * Full author contact details are available in file CREDITS.
31 class Menu : public QMenu
36 Menu(GuiView * gv, QString const & name, bool top_level,
37 bool keyboard = false);
42 /// QMenu::clear() reimplementation to handle the deletion of submenus.
52 /// Use the Pimpl idiom to hide the internals.
54 /// The pointer never changes although *d's contents may.
69 bool searchMenu(FuncRequest const & func,
70 docstring_list & names) const;
72 void fillMenuBar(QMenuBar * qmb, GuiView * view, bool initial = false);
74 /// \return a top-level submenu given its name.
75 Menu * menu(QString const & name, GuiView & view, bool keyboard = false);
81 void updateMenu(Menu * qmenu);
84 /// Use the Pimpl idiom to hide the internals.
90 } // namespace frontend