]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormParagraph.h
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[lyx.git] / src / frontends / xforms / FormParagraph.h
index b9c2e23faac9fa0e85ff5cf3fb775e6edd44e6a4..d55ae062aec0ef6bd94500fa5945c46516e1428e 100644 (file)
@@ -6,26 +6,28 @@
  *
  * \author Jürgen Vigna
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORM_PARAGRAPH_H
 #define FORM_PARAGRAPH_H
 
-
-#include "FormBase.h"
+#include "FormDialogView.h"
 #include "RadioButtonGroup.h"
 
-struct FD_paragraph;
+namespace lyx {
+namespace frontend {
+
 class ControlParagraph;
+struct FD_paragraph;
 
 /** This class provides an XForms implementation of the FormParagraph dialog.
  */
 class FormParagraph
-       : public FormCB<ControlParagraph, FormDB<FD_paragraph> > {
+       : public FormController<ControlParagraph, FormView<FD_paragraph> > {
 public:
        ///
-       FormParagraph();
+       FormParagraph(Dialog &);
 private:
        /// Build the dialog
        virtual void build();
@@ -41,4 +43,7 @@ private:
        RadioButtonGroup alignment_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif