]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiApplication.h
Compil fix.
[lyx.git] / src / frontends / qt4 / GuiApplication.h
index c6683cc25095b109879c51d2f736850b73d18665..4387aa570289b55b713bb74ef703569388ff6ed2 100644 (file)
@@ -36,6 +36,7 @@ class GlobalMenuBar;
 class GuiWorkArea;
 class Menus;
 class SocketNotifier;
+class Toolbars;
 
 /// The Qt main application class
 /**
@@ -64,14 +65,15 @@ public:
        bool event(QEvent * e);
        bool getRgbColor(ColorCode col, RGBColor & rgbcol);
        std::string const hexName(ColorCode col);
-       void readMenus(Lexer & lex);
        void registerSocketCallback(int fd, SocketCallback func);
        void unregisterSocketCallback(int fd);
-       bool searchMenu(FuncRequest const & func, std::vector<docstring> & names) const;
+       bool searchMenu(FuncRequest const & func, docstring_list & names) const;
        void hideDialogs(std::string const & name, Inset * inset) const;
        Buffer const * updateInset(Inset const * inset) const;
        //@}
 
+       Toolbars const & toolbars() const;
+       Toolbars & toolbars();
        Menus const & menus() const;
        Menus & menus();
        /// Methods inherited from \c QApplication class
@@ -127,6 +129,9 @@ private Q_SLOTS:
 private:
        ///
        bool closeAllViews();
+       /// read the given ui (menu/toolbar) file
+       bool readUIFile(QString const & name, bool include = false);
+
        /// This LyXView is the one receiving Clipboard and Selection
        /// events
        GuiView * current_view_;