]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToolbar.h
Fix trailing whitespace in cpp files.
[lyx.git] / src / frontends / qt4 / GuiToolbar.h
index 394b9d8a34416077cd50523a53ab74aa322d89d0..6df840a9bd3b337d877a6ea4ef052ed39974e708 100644 (file)
@@ -16,8 +16,6 @@
 #ifndef GUITOOLBAR_H
 #define GUITOOLBAR_H
 
-#include "Session.h"
-
 #include <QList>
 #include <QToolBar>
 #include <QToolButton>
@@ -69,8 +67,8 @@ class GuiToolbar : public QToolBar
 public:
        ///
        GuiToolbar(ToolbarInfo const &, GuiView &);
-       
-       /// Reimplemented from QToolbar to detect whether the 
+
+       /// Reimplemented from QToolbar to detect whether the
        /// toolbar is restored with MainWindow::restoreState().
        void setVisible(bool visible);
 
@@ -94,12 +92,14 @@ public:
        bool isRestored() const;
 
        /// Refresh the contents of the bar.
-       void update(bool in_math, bool in_table, bool review,
-               bool in_mathmacrotemplate, bool in_ipa);
+       void update(int context = 0);
 
        ///
        void toggle();
 
+       /// toggles movability
+       void movable(bool silent = false);
+
        ///
        GuiCommandBuffer * commandBuffer() { return command_buffer_; }