3 * Copyright 2002 the LyX Team
4 * Read the file COPYING
6 * \author John Levon <levon@movementarian.org>
12 #include "Menubar_pimpl.h"
14 #include <qpopupmenu.h>
24 int createMenu(QMenuData * parent, MenuItem const * item, Menubar::Pimpl * owner);
27 class QLPopupMenu : public QPopupMenu {
30 QLPopupMenu(Menubar::Pimpl * owner, string const & name);
37 /// return true if the given submenu is disabled
38 bool disabled(string const & name);
40 /// our owning menubar
41 Menubar::Pimpl * owner_;
43 /// the name of this menu
47 #endif // QLPOPUPMENU_H