4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
16 #include <qpopupmenu.h>
18 #include "funcrequest.h"
31 std::pair<int, QLPopupMenu *>
32 createMenu(QMenuData * parent, MenuItem const * item,
33 QLMenubar * owner, bool is_toplevel = false);
36 class QLPopupMenu : public QPopupMenu {
39 QLPopupMenu(QLMenubar * owner,
40 std::string const & name, bool toplevel);
43 void populate(Menu * menu);
45 /// populate the toplevel menu and all children
50 /// our owning menubar
53 /// the name of this menu
57 typedef std::vector<FuncRequest> Funcs;
62 #endif // QLPOPUPMENU_H