]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Toolbar.h
ws change
[lyx.git] / src / frontends / Toolbar.h
index 121f3cecc1dff7a64feefc37355e992f887d5ddc..0f15083bc0bfdd389272da5b3a85e30de4e9fa25 100644 (file)
@@ -1,12 +1,12 @@
 // -*- C++ -*-
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
- *           This file is Copyright 1996-2000
+ *           This file is Copyright 1996-2001
  *           Lars Gullik Bjønnes
  *
  * ====================================================== */
@@ -24,7 +24,7 @@ class LyXView;
 class ToolbarDefaults;
 
 /** The LyX GUI independent toolbar class
-  The GUI interface is implemented in the corresponding Toolbar_pimpl class. 
+  The GUI interface is implemented in the corresponding Toolbar_pimpl class.
   */
 class Toolbar {
 public:
@@ -33,7 +33,7 @@ public:
 
        ///
        ~Toolbar();
-       
+
        /// (re)sets the toolbar
        void set(bool doingmain = false);
 
@@ -41,20 +41,20 @@ public:
          frame, where you can change the toolbar realtime. */
        void edit();
        /// add a new button to the toolbar.
-       void add(int , bool doclean = true);
+       void add(int , bool doclean = true);
        /// name of func instead of kb_action
        void add(string const & , bool doclean = true);
        /// invokes the n'th icon in the toolbar
        void push(int);
        /// activates the toolbar
-        void activate();
+       void activate();
        /// deactivates the toolbar
-        void deactivate();
+       void deactivate();
        /// update the state of the icons
        void update();
 
        /// update the layout combox
-       void setLayout(int layout);
+       void setLayout(string const & layout);
        /// Populate the layout combox; re-do everything if force is true.
        void updateLayoutList(bool force);
        /// Drop down the layout list
@@ -64,7 +64,9 @@ public:
 
 private:
        struct Pimpl;
+       ///
        friend struct Toolbar::Pimpl;
+       ///
        Pimpl * pimpl_;
 };
 #endif