3 * \file qt2/QLMenubar.h
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.
17 #include "frontends/Menubar.h"
18 #include "support/std_string.h"
26 class QLMenubar : public Menubar {
28 QLMenubar(LyXView *, MenuBackend const &);
30 /// opens a top-level submenu given its name
31 void openByName(string const &);
33 /// update the state of the menuitems - not needed
36 /// return the owning view
39 /// return the menu controller
40 MenuBackend const & backend();
46 MenuBackend const & menubackend_;
48 typedef std::map<string, QLPopupMenu *> NameMap;
50 /// name to menu for openByName