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"
34 class Menu : public QMenu
39 Menu(GuiView * gv, QString const & name, bool top_level);
51 /// Use the Pimpl idiom to hide the internals.
53 /// The pointer never changes although *d's contents may.
65 bool searchMenu(FuncRequest const & func,
66 std::vector<docstring> & names) const;
68 void fillMenuBar(QMenuBar * qmb, GuiView * view, bool initial = false);
70 /// \return a top-level submenu given its name.
71 Menu * menu(QString const & name, GuiView & view);
77 void updateMenu(Menu * qmenu);
80 /// Use the Pimpl idiom to hide the internals.
82 /// The pointer never changes although *d's contents may.
86 } // namespace frontend