]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToolbars.h
* a configuration value for the mouse wheel scrolling speed:
[lyx.git] / src / frontends / qt4 / GuiToolbars.h
index 090c2f6d8a2fc4c20b3cafc1bed8d6c5f3ad9767..29ec7b309223a8285f4ea2c426980ec10e875803 100644 (file)
@@ -26,7 +26,6 @@ class ToolbarInfo;
 
 namespace frontend {
 
-class GuiLayoutBox;
 class GuiToolbar;
 class GuiView;
 
@@ -51,7 +50,8 @@ public:
        void toggleToolbarState(std::string const & name, bool allowauto);
 
        /// Update the state of the toolbars.
-       void update(bool in_math, bool in_table, bool review);
+       void update(bool in_math, bool in_table, bool review, 
+                   bool in_mathmacrotemplate);
 
        /// Is the Toolbar currently visible?
        bool visible(std::string const & name) const;
@@ -59,19 +59,6 @@ public:
        /// save toolbar information
        void saveToolbarInfo();
 
-       /// Select the right layout in the combox.
-       void setLayout(docstring const & layout);
-
-       /** Populate the layout combox - returns whether we did a full
-        *  update or not
-        */
-       bool updateLayoutList(TextClassPtr textclass);
-
-       /// Drop down the layout list.
-       void openLayoutList();
-       /// Erase the layout list.
-       void clearLayoutList();
-
        /// Show or hide the command buffer.
        void showCommandBuffer(bool show_it);
 
@@ -92,15 +79,6 @@ private:
        /// The parent window.
        GuiView & owner_;
 
-       /** The layout box is actually owned by whichever toolbar
-        *  contains it. All the Toolbars class needs is a means of
-        *  accessing it.
-        *
-        *  We don't need to use boost::weak_ptr here because the toolbars
-        *  are also stored here. There are, therefore, no lifetime issues.
-        */
-       GuiLayoutBox * layout_;
-
        /// Toolbar store providing access to individual toolbars by name.
        typedef std::map<std::string, GuiToolbar *> ToolbarsMap;
        ToolbarsMap toolbars_;