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);
49 /// Use the Pimpl idiom to hide the internals.
51 /// The pointer never changes although *d's contents may.
62 bool searchMenu(FuncRequest const & func,
63 std::vector<docstring> & names) const;
65 void fillMenuBar(GuiView * view);
67 /// \return a top-level submenu given its name.
68 Menu * menu(QString const & name, GuiView & view);
74 void updateMenu(QString const & name);
77 /// Use the Pimpl idiom to hide the internals.
79 /// The pointer never changes although *d's contents may.
83 } // namespace frontend