#ifndef MENUS_H
#define MENUS_H
-#include "support/docstring.h"
-
#include <QMenu>
#include <vector>
class QString;
+class QMenuBar;
namespace lyx {
+class docstring_list;
class Lexer;
class FuncRequest;
{
public:
Menus();
+ ~Menus();
///
bool searchMenu(FuncRequest const & func,
- std::vector<docstring> & names) const;
+ docstring_list & names) const;
///
- void fillMenuBar(GuiView * view);
+ void fillMenuBar(QMenuBar * qmb, GuiView * view, bool initial = false);
/// \return a top-level submenu given its name.
Menu * menu(QString const & name, GuiView & view);