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.
15 #include <qpopupmenu.h>
17 #include "funcrequest.h"
34 std::pair<int, QLPopupMenu *>
35 createMenu(QMenuData * parent, MenuItem const * item,
36 QLMenubar * owner, bool is_toplevel = false);
39 class QLPopupMenu : public QPopupMenu {
42 QLPopupMenu(QLMenubar * owner,
43 std::string const & name, bool toplevel);
46 void populate(Menu * menu);
48 /// populate the toplevel menu and all children
53 /// our owning menubar
56 /// the name of this menu
60 typedef std::vector<FuncRequest> Funcs;
65 } // namespace frontend
68 #endif // QLPOPUPMENU_H