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.
28 class GuiMenubar : public QObject
32 GuiMenubar(GuiView *);
39 /// opens a top-level submenu given its name
40 void openByName(QString const & name);
42 /// return the owning view
43 GuiView * view() { return owner_; }
45 /// update the state of the menuitems - not needed
49 /// Initialize specific MACOS X menubar
50 void macxMenuBarInit();
55 typedef QHash<QString, GuiPopupMenu *> NameMap;
57 /// name to menu for openByName
61 } // namespace frontend
64 #endif // GUIMENUBAR_H