]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormMinipage.h
index 94a648dacd18ba405618cf97711bf7e52d3216bf..cef758199cbd0f462c87833d478ec75dbe9d5bcf 100644 (file)
@@ -1,40 +1,30 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- * 
- *           LyX, The Document Processor
- *      
- *          Copyright 2001 The LyX Team.
+/**
+ * \file FormMinipage.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *======================================================
+ * \author Jürgen Vigna
  *
- * \file FormMinipage.h
- * \author Juergen Vigna, jug@sad.it
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef FORMMINIPAGE_H
 #define FORMMINIPAGE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
+#include "FormDialogView.h"
 
 class ControlMinipage;
-struct FD_form_minipage;
+struct FD_minipage;
 
 /** This class provides an XForms implementation of the Minipage
     Dialog.
  */
-class ControlMinipage;
-struct FD_form_minipage;
-
-class FormMinipage : public FormCB<ControlMinipage, FormDB<FD_form_minipage> > {
+class FormMinipage
+       : public FormController<ControlMinipage, FormView<FD_minipage> > {
 public:
        ///
-       FormMinipage(ControlMinipage &);
-
+       FormMinipage(Dialog &);
 private:
        /// Set the Params variable for the Controller.
        virtual void apply();
@@ -42,9 +32,8 @@ private:
        virtual void build();
        /// Update dialog before/whilst showing it.
        virtual void update();
-
-       /// Fdesign generated method
-       FD_form_minipage * build_minipage();
+       /// Filter the inputs on callback from xforms
+       virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 };
 
 #endif // FORMMINIPAGE_H