]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormAboutlyx.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormAboutlyx.h
index 0a6de74eaf8052a7882c020f3265949a570ff0ef..4eb32c627753b032431dc9f3b3c97844b1a30330 100644 (file)
@@ -1,38 +1,36 @@
 // -*- C++ -*-
 /**
  * \file FormAboutlyx.h
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Edwin Leuven <leuven@fee.uva.nl>
- * \author Angus Leeming <a.leeming@.ac.uk>
+ * \author Edwin Leuven
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMABOUTLYX_H
 #define FORMABOUTLYX_H
 
-#include <vector>
-#include <boost/smart_ptr.hpp>
-
-#ifdef __GNUG__
-#pragma interface
-#endif
 
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+#include <boost/scoped_ptr.hpp>
 
 class ControlAboutlyx;
-struct FD_form_aboutlyx;
-struct FD_form_tab_version;
-struct FD_form_tab_credits;
-struct FD_form_tab_license;
+struct FD_aboutlyx;
+struct FD_aboutlyx_version;
+struct FD_aboutlyx_credits;
+struct FD_aboutlyx_license;
 
 /** This class provides an XForms implementation of the FormAboutlyx Dialog.
  */
-class FormAboutlyx : public FormCB<ControlAboutlyx, FormDB<FD_form_aboutlyx> > {
+class FormAboutlyx
+       : public FormController<ControlAboutlyx, FormView<FD_aboutlyx> > {
 public:
        ///
-       FormAboutlyx(ControlAboutlyx &);
+       FormAboutlyx(Dialog &);
 
 private:
        /// not needed.
@@ -42,22 +40,13 @@ private:
        /// Build the dialog
        virtual void build();
 
-       /// Fdesign generated method
-       FD_form_aboutlyx * build_aboutlyx();
-       ///
-       FD_form_tab_version * build_tab_version();
-       ///
-       FD_form_tab_credits * build_tab_credits();
-       ///
-       FD_form_tab_license * build_tab_license();
-
        /// Real GUI implementation.
-       boost::scoped_ptr<FD_form_tab_version> version_;
+       boost::scoped_ptr<FD_aboutlyx_version> version_;
        ///
-       boost::scoped_ptr<FD_form_tab_credits> credits_;
+       boost::scoped_ptr<FD_aboutlyx_credits> credits_;
        ///
-       boost::scoped_ptr<FD_form_tab_license> license_;
+       boost::scoped_ptr<FD_aboutlyx_license> license_;
 };
 
-#endif // FORMABOUTLYX_H
 
+#endif // FORMABOUTLYX_H