]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Menubar.h
fix tooltips in toolbar
[lyx.git] / src / frontends / Menubar.h
index 5784d4d45916b43a52ac5ed6ac22cd6c8732f5d1..0114bae456d030c3d96f9ddba7226d677f4433be 100644 (file)
@@ -1,15 +1,11 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+/**
+ * \file Menubar.h
+ * Copyright 1995-2002 the LyX Team
+ * Read the file COPYING
  *
- *           This file is Copyright 1996-2000
- *           Lars Gullik Bjønnes
- *
- * ====================================================== */
+ * \author Lars Gullik Bjønnes
+ */
 
 #ifndef MENUBAR_H
 #define MENUBAR_H
 class LyXView;
 class MenuBackend;
 
-/** The LyX GUI independent menubar class
-  The GUI interface is implemented in the corresponding Menubar_pimpl class. 
-  */
+/**
+ * The LyX GUI independent menubar class
+ * The GUI interface is implemented in the corresponding Menubar_pimpl class.
+ */
 class Menubar {
 public:
        ///
        Menubar(LyXView * o, MenuBackend const &);
        ///
        ~Menubar();
-       ///
-       void set(string const &);
        /// Opens a top-level submenu given its name
        void openByName(string const &);
+       /// update the state of the menuitems
+       void update();
 
 
        //I disable this temporarily until I find a nice way to make it work
        //with compaq cxx. (Jean-Marc)
        // Is this a new comment? (Lgb)
-private:
        struct Pimpl;
        friend struct Pimpl;
+private:
+       ///
        Pimpl * pimpl_;
 };
-#endif
+#endif // MENUBAR_H