]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormTabular.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormTabular.h
index dc5220f91ebfdbf35cf1e54a10e3ce2484625e88..6ae27a26c1db8979fa4f3fb213b37e2f01ae741d 100644 (file)
 #ifndef FORMTABULAR_H
 #define FORMTABULAR_H
 
+#include "FormDialogView.h"
 #include <boost/scoped_ptr.hpp>
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
-
 class InsetTabular;
 class ControlTabular;
 struct FD_tabular;
@@ -32,10 +27,11 @@ struct FD_tabular_longtable;
 /** This class provides an XForms implementation of the FormTabular Dialog.
     The tabular dialog allows users to set/save their tabular.
  */
-class FormTabular : public FormCB<ControlTabular, FormDB<FD_tabular> > {
+class FormTabular
+       : public FormController<ControlTabular, FormView<FD_tabular> > {
 public:
 
-       FormTabular();
+       FormTabular(Dialog &);
 
 private:
        /** Redraw the form (on receipt of a Signal indicating, for example,
@@ -50,7 +46,7 @@ private:
        virtual void build();
        /// Filter the inputs
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
+
        ///
        virtual int checkLongtableOptions(FL_OBJECT *, string &);
 
@@ -65,7 +61,7 @@ private:
 
        ///
        bool closing_;
+
        ///
        int actCell_;
 };