]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiView.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / GuiView.h
index 596e66194917daa21cfc9b936b2fa619e64e7d8d..17e60df7ddc91a62d4c3d6dd2dad02c0a8b9781b 100644 (file)
@@ -336,7 +336,7 @@ private:
        /// Saves the settings of toolbars and all dialogs
        void saveUISettings() const;
        ///
-       bool restoreLayout(bool force_inittoolbars = false);
+       bool restoreLayout();
        ///
        GuiToolbar * toolbar(std::string const & name);
        ///
@@ -344,6 +344,8 @@ private:
        ///
        void initToolbars();
        ///
+       void initToolbar(std::string const & name);
+       ///
        bool lfunUiToggle(std::string const & ui_component);
        ///
        void toggleFullScreen();
@@ -352,8 +354,9 @@ private:
        ///
        void insertPlaintextFile(docstring const & fname,
                bool asParagraph);
-       ///
-       bool exportBufferAs(Buffer & b);
+       /// Open Export As ... dialog. \p iformat is the format the
+       /// filter is initially set to.
+       bool exportBufferAs(Buffer & b, docstring const & iformat);
 
        ///
        enum RenameKind { LV_WRITE_AS, LV_VC_RENAME, LV_VC_COPY };