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 "support/std_string.h"
30 std::pair<int, QLPopupMenu *>
31 createMenu(QMenuData * parent, MenuItem const * item,
32 QLMenubar * owner, bool is_toplevel = false);
35 class QLPopupMenu : public QPopupMenu {
38 QLPopupMenu(QLMenubar * owner,
39 string const & name, bool toplevel);
42 void populate(Menu * menu);
44 /// populate the toplevel menu and all children
47 /// our owning menubar
50 /// the name of this menu
54 #endif // QLPOPUPMENU_H