]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormToc.h
remove defaults stuff, let Qt handle no toolbar
[lyx.git] / src / frontends / xforms / FormToc.h
index 00adacf6b9498811413d4b5400f6faa8067607f8..e5861c5081fcdf490a36a523f7ab4e78022b96bd 100644 (file)
@@ -1,9 +1,10 @@
 // -*- C++ -*-
 /**
- * \file xforms/FormToc.h
- * Read the file COPYING
+ * \file FormToc.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming 
+ * \author Angus Leeming
  *
  * Full author contact details are available in file CREDITS
  */
 #ifndef FORMTOC_H
 #define FORMTOC_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
-#include "FormBase.h"
+#include "FormDialogView.h"
 #include "toc.h"
 
 class ControlToc;
@@ -23,10 +21,10 @@ struct FD_toc;
 
 /** This class provides an XForms implementation of the FormToc Dialog.
  */
-class FormToc : public FormCB<ControlToc, FormDB<FD_toc> > {
+class FormToc : public FormController<ControlToc, FormView<FD_toc> > {
 public:
        ///
-       FormToc();
+       FormToc(Dialog &);
 private:
        /// not needed
        virtual void apply() {}