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.
16 #include "support/docstring.h"
33 class Menu : public QMenu
38 Menu(GuiView * gv, QString const & name, bool top_level);
50 /// Use the Pimpl idiom to hide the internals.
52 /// The pointer never changes although *d's contents may.
63 bool searchMenu(FuncRequest const & func,
64 std::vector<docstring> & names) const;
66 void fillMenuBar(QMenuBar * qmb, GuiView * view);
68 /// \return a top-level submenu given its name.
69 Menu * menu(QString const & name, GuiView & view);
75 void updateMenu(Menu * qmenu);
78 /// Use the Pimpl idiom to hide the internals.
80 /// The pointer never changes although *d's contents may.
84 } // namespace frontend