// -*- C++ -*-
/**
- * \file qt2/QLMenubar.h
+ * \file qt4/QLMenubar.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
#include "frontends/Menubar.h"
#include <map>
+#include <boost/scoped_ptr.hpp>
#include <QObject>
+#include <QMenuBar>
+
+#include "QLPopupMenu.h"
-class QMenuBar;
-class QMenu;
class LyXView;
class MenuBackend;
class Menu;
/// menu controller
MenuBackend & menubackend_;
- typedef std::map<std::string, QMenu *> NameMap;
+ typedef std::map<std::string, QLPopupMenu *> NameMap;
/// name to menu for openByName
NameMap name_map_;
-#ifdef Q_WS_MACX
- boost::scoped_ptr<QMenuBar> menubar_;
-#endif
+ /// MACOS X special menubar.
+ boost::scoped_ptr<QMenuBar> mac_menubar_;
};
} // namespace frontend