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 "MenuBackend.h"
28 class Menus : public QObject, public MenuBackend
35 void fillMenuBar(GuiView * view);
37 /// \return a top-level submenu given its name.
38 QMenu * menu(QString const & name);
40 /// update the state of the menuitems - not needed
44 /// Initialize specific MACOS X menubar
45 void macxMenuBarInit(GuiView * view);
47 typedef QHash<QString, GuiPopupMenu *> NameMap;
49 /// name to menu for \c menu() method.
53 } // namespace frontend