]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Toolbar_pimpl.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / Toolbar_pimpl.h
index a872e8bd0ae0449f84645c70b9b41ef5569ac988..26db1ca67157d6f18ce281e97b28c30d55d75ac0 100644 (file)
@@ -1,11 +1,13 @@
 // -*- C++ -*-
 /**
- * \file Toolbar_pimpl.h
- * Copyright 2002 the LyX Team
+ * \file xforms/Toolbar_pimpl.h
  * Copyright 1996-2001 Lars Gullik Bjønnes
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes, larsbj@lyx.org
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef TOOLBAR_PIMPL_H
 
 #include "frontends/Toolbar.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 class XFormsView;
 class Tooltips;
-class Dialogs;
-class Combox;
 
 /** The LyX xforms toolbar class
 */
+ */
 struct Toolbar::Pimpl {
 public:
-       /// called when user selects a layout from combox
-       static void layoutSelectedCB(int, void *, Combox *);
        /// create an empty toolbar
-       Pimpl(LyXView * o, Dialogs &, int x, int y);
+       Pimpl(LyXView * o, int x, int y);
 
        ~Pimpl();
 
@@ -51,7 +45,7 @@ public:
        void openLayoutList();
        /// Erase the layout list
        void clearLayoutList();
-       /// the non-static version of layoutSelectedCB
+       ///
        void layoutSelected();
 
        /// an item on the toolbar
@@ -60,12 +54,12 @@ public:
                toolbarItem();
 
                ~toolbarItem();
+
                toolbarItem & operator=(toolbarItem const & ti);
+
                /// deallocate icon
                void kill_icon();
+
                /// lyx action number
                int action;
                /// icon for this item
@@ -73,7 +67,7 @@ public:
        };
 
        typedef std::vector<toolbarItem> ToolbarList;
+
        /// The list containing all the buttons
        ToolbarList toollist_;
        /// owning view
@@ -81,11 +75,11 @@ public:
        /// tooltips manager
        Tooltips * tooltip_;
        /// layout combo
-       Combox * combox_;
+       FL_OBJECT * combox_;
        /// x position of end of toolbar
        int xpos;
        /// y position of end of toolbar
        int ypos;
 };
+
 #endif // TOOLBAR_PIMPL_H